diff options
| author | jvoisin | 2014-01-06 12:15:26 +0000 |
|---|---|---|
| committer | jvoisin | 2014-01-06 12:15:26 +0000 |
| commit | cb2975459500a7c9819dac4628cb50403d1883f0 (patch) | |
| tree | 1741e018667db71a55ee9c4645f22372c793320d | |
| parent | ee064df13c460a4a0ab4c4f1580fa3336c434d19 (diff) | |
Fix a pyflakes warning
| -rw-r--r-- | MAT/archive.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MAT/archive.py b/MAT/archive.py index 8112f5d..5b25ba0 100644 --- a/MAT/archive.py +++ b/MAT/archive.py | |||
| @@ -142,10 +142,10 @@ class ZipStripper(GenericArchiveStripper): | |||
| 142 | if self.add2archive or ext in parser.NOMETA: | 142 | if self.add2archive or ext in parser.NOMETA: |
| 143 | zipout.write(name, item.filename) | 143 | zipout.write(name, item.filename) |
| 144 | zipin.close() | 144 | zipin.close() |
| 145 | for zipfile in zipout.infolist(): | 145 | for zipFile in zipout.infolist(): |
| 146 | zipfile.orig_filename = zipfile.filename | 146 | zipFile.orig_filename = zipFile.filename |
| 147 | zipfile.date_time = (1980, 1, 1, 0, 0, 0) | 147 | zipFile.date_time = (1980, 1, 1, 0, 0, 0) |
| 148 | zipfile.create_system = 3 # 3 is UNIX | 148 | zipFile.create_system = 3 # 3 is UNIX |
| 149 | zipout.comment = '' | 149 | zipout.comment = '' |
| 150 | zipout.close() | 150 | zipout.close() |
| 151 | 151 | ||
