[Python-checkins] r73565 - python/trunk/Lib/zipfile.py
gregory.p.smith
python-checkins at python.org
Fri Jun 26 09:50:21 CEST 2009
Author: gregory.p.smith
Date: Fri Jun 26 09:50:21 2009
New Revision: 73565
Log:
Fixes the last problem mentioned in issue1202.
Modified:
python/trunk/Lib/zipfile.py
Modified: python/trunk/Lib/zipfile.py
==============================================================================
--- python/trunk/Lib/zipfile.py (original)
+++ python/trunk/Lib/zipfile.py Fri Jun 26 09:50:21 2009
@@ -1121,7 +1121,7 @@
self.fp.flush()
if zinfo.flag_bits & 0x08:
# Write CRC and file sizes after the file data
- self.fp.write(struct.pack("<lLL", zinfo.CRC, zinfo.compress_size,
+ self.fp.write(struct.pack("<LLL", zinfo.CRC, zinfo.compress_size,
zinfo.file_size))
self.filelist.append(zinfo)
self.NameToInfo[zinfo.filename] = zinfo
More information about the Python-checkins
mailing list