summaryrefslogtreecommitdiff
path: root/libmat2/archive.py
diff options
context:
space:
mode:
authorjvoisin2018-09-24 20:15:07 +0200
committerjvoisin2018-09-24 20:15:07 +0200
commit719cdf20fa8c9921b81eaf6bf3df0d50c790de82 (patch)
tree2da79f90984aee0bdcd5036c0608d463cc1a07f4 /libmat2/archive.py
parent2e243355f51654c8c6392c80a17b090f9f012fd1 (diff)
Second pass of minor formatting
Diffstat (limited to 'libmat2/archive.py')
-rw-r--r--libmat2/archive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py
index dd63c50..d812531 100644
--- a/libmat2/archive.py
+++ b/libmat2/archive.py
@@ -25,7 +25,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
25 25
26 # what should the parser do if it encounters an unknown file in 26 # what should the parser do if it encounters an unknown file in
27 # the archive? 27 # the archive?
28 unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy 28 unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy
29 29
30 def __init__(self, filename): 30 def __init__(self, filename):
31 super().__init__(filename) 31 super().__init__(filename)
@@ -94,7 +94,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
94 pass 94 pass
95 elif any(map(lambda r: r.search(item.filename), self.files_to_omit)): 95 elif any(map(lambda r: r.search(item.filename), self.files_to_omit)):
96 continue 96 continue
97 else: # supported files that we want to first clean, then add 97 else: # supported files that we want to first clean, then add
98 tmp_parser, mtype = parser_factory.get_parser(full_path) # type: ignore 98 tmp_parser, mtype = parser_factory.get_parser(full_path) # type: ignore
99 if not tmp_parser: 99 if not tmp_parser:
100 if self.unknown_member_policy == UnknownMemberPolicy.OMIT: 100 if self.unknown_member_policy == UnknownMemberPolicy.OMIT: