[Python-checkins] cpython: #11981: remove duplicate line. Patch by Johan Euphrosine.

ezio.melotti python-checkins at python.org
Sat Nov 17 17:56:26 CET 2012


http://hg.python.org/cpython/rev/d51665f9a416
changeset: 80473:d51665f9a416
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Nov 17 18:56:15 2012 +0200
summary:
 #11981: remove duplicate line. Patch by Johan Euphrosine.
files:
 Lib/zipfile.py | 1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -1391,7 +1391,6 @@
 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()
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /