diff options
| author | jvoisin | 2015-11-25 18:33:02 +0100 |
|---|---|---|
| committer | jvoisin | 2015-11-26 15:47:30 +0100 |
| commit | 6e0888eaeb22bdb29239ba7afd493e46255296aa (patch) | |
| tree | 2870cf4b968c94691de785b1b9f3aa3c005a900f /libmat/office.py | |
| parent | 7d281bebabae70674cc4915d09bab90b5ebc2d30 (diff) | |
Remove a useless rant in a comment
Diffstat (limited to '')
| -rw-r--r-- | libmat/office.py | 4 |
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() |
