From b84f73c5c3203d4b5157bb47b8990324e08efef8 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Fri, 6 Nov 2020 15:29:42 +0100
Subject: [PATCH] Handle multiple namespaces in MSOffice's content types

---
 libmat2/office.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmat2/office.py b/libmat2/office.py
index 1ef29c5..124f864 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -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:
-- 
GitLab