Skip to content
Snippets Groups Projects
Commit 81a3881a authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Please mypy

parent e342671e
Branches
Tags
No related merge requests found
......@@ -166,7 +166,7 @@ class MSOfficeParser(ArchiveBasedAbstractParser):
removed_fnames = set()
with zipfile.ZipFile(self.filename) as zin:
for fname in [item.filename for item in zin.infolist()]:
if any(map(lambda r: r.search(fname), self.files_to_omit)):
if any(map(lambda r: r.search(fname), self.files_to_omit)): # type: ignore
removed_fnames.add(fname)
root = tree.getroot()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment