summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmat/office.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/libmat/office.py b/libmat/office.py
index fd589cd..c585cb6 100644
--- a/libmat/office.py
+++ b/libmat/office.py
@@ -38,10 +38,6 @@ class OpenDocumentStripper(archive.TerminalZipStripper):
38 if i.tagName != 'meta:document-statistic': 38 if i.tagName != 'meta:document-statistic':
39 nodename = ''.join(i.nodeName.split(':')[1:]) 39 nodename = ''.join(i.nodeName.split(':')[1:])
40 metadata[nodename] = ''.join([j.data for j in i.childNodes]) 40 metadata[nodename] = ''.join([j.data for j in i.childNodes])
41 else:
42 # thank you w3c for not providing a nice
43 # method to get all attributes of a node
44 pass
45 except KeyError: # no meta.xml file found 41 except KeyError: # no meta.xml file found
46 logging.debug('%s has no opendocument metadata', self.filename) 42 logging.debug('%s has no opendocument metadata', self.filename)
47 zipin.close() 43 zipin.close()