Skip to content

Commit f78f22a

Browse files
committed
[REF] remove useless code and rename parser class for content 07
1 parent 1385e88 commit f78f22a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

cfonb/parser/common.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ def __str__(self):
3535
return repr(self.value)
3636

3737

38-
class Obj():
39-
"""Generic object build from a given dict.
40-
"""
41-
42-
def __init__(self, **entries):
43-
"""Create real object based on passed dict.
44-
"""
45-
self.__dict__.update(entries)
46-
47-
4838
class Row(dict):
4939
"""Generic row object to manage bank file parsing, compare and reading.
5040
"""
@@ -170,7 +160,7 @@ def parse(self, line):
170160
return new_result
171161

172162

173-
class RoxContent07(Parser):
163+
class ParserContent07(Parser):
174164
_code = '07'
175165
_regex = [
176166
('record_code', '(07)' ),

0 commit comments

Comments
 (0)