]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Remove last OLD
authorHenryk Plötz <henryk@ploetzli.ch>
Sun, 26 Aug 2018 20:10:57 +0000 (22:10 +0200)
committerRaphael Michel <mail@raphaelmichel.de>
Mon, 3 Dec 2018 18:34:29 +0000 (19:34 +0100)
fints/segments/__init__.py

index e7f101c971d37ed5902f9cedc54cac9780200db8..b132b476b78f82108552cd0a1223f9c8ebf1489c 100644 (file)
@@ -17,19 +17,6 @@ from fints.utils import SubclassesMixin, classproperty
 
 TYPE_VERSION_RE = re.compile(r'^([A-Z]+)(\d+)$')
 
-class FinTS3SegmentOLD:
-    type = '???'
-    country_code = 280
-    version = 2
-    def __init__(self, segmentno, data):
-        self.segmentno = segmentno
-        self.data = data
-    def __str__(self):
-        res = '{}:{}:{}'.format(self.type, self.segmentno, self.version)
-        for d in self.data:
-            res += '+' + str(d)
-        return res + "'"
-
 class FinTS3SegmentMeta(ContainerMeta):
     @staticmethod
     def _check_fields_recursive(instance):