[Pkg-privacy-commits] [mat] 23/68: Remove a useless rant in a comment

Sascha Steinbiss sascha at steinbiss.name
Sun Jan 3 12:32:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository mat.

commit 6e0888eaeb22bdb29239ba7afd493e46255296aa
Author: jvoisin <julien.voisin at dustri.org>
Date:   Wed Nov 25 18:33:02 2015 +0100

    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()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git



More information about the Pkg-privacy-commits mailing list