mirror of
https://github.com/python/cpython.git
synced 2025-08-28 04:35:02 +00:00
Whitespace normalization.
This commit is contained in:
parent
a86f0c17a1
commit
b64bec3ec0
8 changed files with 18 additions and 21 deletions
|
@ -417,7 +417,7 @@ class ZipFile:
|
|||
zinfo.CRC = CRC
|
||||
zinfo.file_size = file_size
|
||||
# Seek backwards and write CRC and file sizes
|
||||
position = self.fp.tell() # Preserve current position in file
|
||||
position = self.fp.tell() # Preserve current position in file
|
||||
self.fp.seek(zinfo.header_offset + 14, 0)
|
||||
self.fp.write(struct.pack("<lll", zinfo.CRC, zinfo.compress_size,
|
||||
zinfo.file_size))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue