mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Use lzx:21 for compression. Backported to 2.4
This commit is contained in:
parent
d1c0239862
commit
420254df5a
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class CAB:
|
||||||
else:
|
else:
|
||||||
print "WARNING: cabarc.exe not found in registry"
|
print "WARNING: cabarc.exe not found in registry"
|
||||||
cabarc = "cabarc.exe"
|
cabarc = "cabarc.exe"
|
||||||
f = popen2.popen4(r'"%s" n %s.cab @%s.txt' % (cabarc, self.name, self.name))[0]
|
f = popen2.popen4(r'"%s" -m lzx:21 n %s.cab @%s.txt' % (cabarc, self.name, self.name))[0]
|
||||||
for line in f:
|
for line in f:
|
||||||
if line.startswith(" -- adding "):
|
if line.startswith(" -- adding "):
|
||||||
sys.stdout.write(".")
|
sys.stdout.write(".")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue