diff options
| author | jvoisin | 2015-11-02 18:18:22 +0100 |
|---|---|---|
| committer | jvoisin | 2015-11-02 18:18:22 +0100 |
| commit | f5a39ac0b6ddc9154b1b1b55d255074d6dd4eecd (patch) | |
| tree | 9f0587d7f911fd911459f7292839462431904928 /libmat/office.py | |
| parent | 5b9c600ae96e63f1f7a7f9487512c3c9d8a356e7 (diff) | |
Some minors pep8 modifications
Diffstat (limited to 'libmat/office.py')
| -rw-r--r-- | libmat/office.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
| 77 | """ | 77 | """ |
| 78 | 78 | ||
| 79 | def remove_all(self): | 79 | def remove_all(self): |
| 80 | """ Remove harmful metadata, by deleting everything that doesn't end with '.rels' in the | ||
| 81 | 'docProps' folder. """ | ||
| 80 | return super(OpenXmlStripper, self).remove_all( | 82 | return super(OpenXmlStripper, self).remove_all( |
| 81 | beginning_blacklist='docProps/', whitelist='.rels') | 83 | beginning_blacklist='docProps/', whitelist='.rels') |
| 82 | 84 | ||
