From 719cdf20fa8c9921b81eaf6bf3df0d50c790de82 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 24 Sep 2018 20:15:07 +0200 Subject: Second pass of minor formatting --- libmat2/archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmat2/archive.py') 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): # what should the parser do if it encounters an unknown file in # the archive? - unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy + unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy def __init__(self, filename): super().__init__(filename) @@ -94,7 +94,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): pass elif any(map(lambda r: r.search(item.filename), self.files_to_omit)): continue - else: # supported files that we want to first clean, then add + else: # supported files that we want to first clean, then add tmp_parser, mtype = parser_factory.get_parser(full_path) # type: ignore if not tmp_parser: if self.unknown_member_policy == UnknownMemberPolicy.OMIT: -- cgit v1.3