Commit 420254df authored by Martin v. Löwis's avatar Martin v. Löwis

Use lzx:21 for compression. Backported to 2.4

parent d1c02398
...@@ -393,7 +393,7 @@ class CAB: ...@@ -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(".")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment