summaryrefslogtreecommitdiff
path: root/libmat2
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2')
-rw-r--r--libmat2/archive.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py
index 9897c10..f00ed6e 100644
--- a/libmat2/archive.py
+++ b/libmat2/archive.py
@@ -63,7 +63,9 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
63 # the archive? 63 # the archive?
64 self.unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy 64 self.unknown_member_policy = UnknownMemberPolicy.ABORT # type: UnknownMemberPolicy
65 65
66 self.is_archive_valid() 66 # The LGTM comment is to mask a false-positive,
67 # see https://lgtm.com/projects/g/jvoisin/mat2/
68 self.is_archive_valid() # lgtm [py/init-calls-subclass]
67 69
68 def is_archive_valid(self): 70 def is_archive_valid(self):
69 """Raise a ValueError is the current archive isn't a valid one.""" 71 """Raise a ValueError is the current archive isn't a valid one."""