Skip to content
Snippets Groups Projects
Commit ea7ec3ec authored by Simon Magnin-Feysot's avatar Simon Magnin-Feysot
Browse files

mypy happy ?

parent 0dc2964e
No related branches found
No related tags found
No related merge requests found
Pipeline #19550 passed
......@@ -62,11 +62,11 @@ def show_meta(filename: str):
return
p, mtype = parser_factory.get_parser(filename) # type: ignore
print("[+] Metadata for %s:" % filename)
metadata = p.get_meta().items()
if p is None:
print("[-] %s's format (%s) is not supported" % (filename, mtype))
return
print("[+] Metadata for %s:" % filename)
metadata = p.get_meta().items() # type: dict
__print_meta(metadata)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment