From 6e0888eaeb22bdb29239ba7afd493e46255296aa Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 25 Nov 2015 18:33:02 +0100 Subject: Remove a useless rant in a comment --- libmat/office.py | 4 ---- 1 file changed, 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): if i.tagName != 'meta:document-statistic': nodename = ''.join(i.nodeName.split(':')[1:]) metadata[nodename] = ''.join([j.data for j in i.childNodes]) - else: - # thank you w3c for not providing a nice - # method to get all attributes of a node - pass except KeyError: # no meta.xml file found logging.debug('%s has no opendocument metadata', self.filename) zipin.close() -- cgit v1.3