We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 111ff1f commit 5629805Copy full SHA for 5629805
2 files changed
utils/create_xpi_test.py
@@ -49,7 +49,9 @@ def constructZipDet():
49
info.date_time = time.gmtime(1378343307)
50
info.create_system = 3 # aka, UNIX
51
info.create_version = 20
52
+ info.external_attr = 0600 << 16
53
info.extract_version = 20
54
+ info.file_size = long(info.file_size) # is int on some OS's
55
xpiFile.writestr(info, '')
56
57
constructZipDet()
utils/zipfile2_6.py
@@ -511,7 +511,7 @@ def readline(self, size = -1):
511
read a whole line.
512
"""
513
if size < 0:
514
- size = sys.maxint
+ size = 2147483647
515
elif size == 0:
516
return ''
517
0 commit comments