Commit b84f73c5 authored by jvoisin's avatar jvoisin
Browse files

Handle multiple namespaces in MSOffice's content types

parent 96e639df
......@@ -271,7 +271,7 @@ class MSOfficeParser(ZipParser):
return False
if len(namespace.items()) != 1:
return False # there should be only one namespace for Types
logging.debug("Got several namespaces for Types: %s", namespace.items())
removed_fnames = set()
with zipfile.ZipFile(self.filename) as zin:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment