#11981: remove duplicate line. Patch by Johan Euphrosine.

This commit is contained in:
Ezio Melotti 2012-11-17 18:56:15 +02:00
parent e0321f45fb
commit 658f3522c6
1 changed files with 0 additions and 1 deletions

View File

@ -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()