summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2019-09-01 18:51:09 +0200
committerjvoisin2019-09-01 19:01:33 +0200
commit1678d378562b0825707e08352d3cdc10e8a9c4f8 (patch)
treebbc67be4bb9d54521335b8d3ac5948350852e6e3
parent397a18b0cc6453c9d72ce2cd110f3724ac809313 (diff)
Mark a comment as FP
-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."""