Use lzx:21 for compression. Backported to 2.4

This commit is contained in:
Martin v. Löwis 2005-09-27 19:17:03 +00:00
parent d1c0239862
commit 420254df5a
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ class CAB:
else:
print "WARNING: cabarc.exe not found in registry"
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:
if line.startswith(" -- adding "):
sys.stdout.write(".")