From f5a39ac0b6ddc9154b1b1b55d255074d6dd4eecd Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 2 Nov 2015 18:18:22 +0100 Subject: Some minors pep8 modifications --- libmat/office.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmat/office.py') diff --git a/libmat/office.py b/libmat/office.py index bd4bd97..5a57b57 100644 --- a/libmat/office.py +++ b/libmat/office.py @@ -77,6 +77,8 @@ class OpenXmlStripper(archive.TerminalZipStripper): """ def remove_all(self): + """ Remove harmful metadata, by deleting everything that doesn't end with '.rels' in the + 'docProps' folder. """ return super(OpenXmlStripper, self).remove_all( beginning_blacklist='docProps/', whitelist='.rels') -- cgit v1.3