diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-17 18:56:15 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-17 18:56:15 +0200 |
| commit | 658f3522c638ec43cef52f6599ba47dd7c14a72a (patch) | |
| tree | ea9dad479ffce6eceebae999b36bd57c0e521156 /Lib/zipfile.py | |
| parent | e0321f45fbc45bd06ca256144f6f48dc1347812a (diff) | |
| download | cpython-git-658f3522c638ec43cef52f6599ba47dd7c14a72a.tar.gz | |
#11981: remove duplicate line. Patch by Johan Euphrosine.
Diffstat (limited to 'Lib/zipfile.py')
| -rw-r--r-- | Lib/zipfile.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 209dc4a0f3..f2cfe98c78 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -1391,7 +1391,6 @@ class ZipFile: zinfo.compress_size = len(data) # Compressed size else: zinfo.compress_size = zinfo.file_size - zinfo.header_offset = self.fp.tell() # Start of header data self.fp.write(zinfo.FileHeader()) self.fp.write(data) self.fp.flush() |
