]> git.decadent.org.uk Git - dak.git/commitdiff
also use -9 for bzip2
authorJoerg Jaspert <joerg@debian.org>
Fri, 13 May 2011 07:19:24 +0000 (09:19 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 13 May 2011 07:19:24 +0000 (09:19 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/filewriter.py

index 4958c10b70877b1aa9a6555baab2802939e8934e..b44fc2a5775c0fac1e21cb56af3585c6691a31ab 100755 (executable)
@@ -78,7 +78,7 @@ class BaseFileWriter(object):
                 shell = True)
             self.rename('%s.gz' % self.path)
         if self.bzip2:
-            check_call('bzip2 <%s.new >%s.bz2.new' % (self.path, self.path), shell = True)
+            check_call('bzip2 -9 <%s.new >%s.bz2.new' % (self.path, self.path), shell = True)
             self.rename('%s.bz2' % self.path)
         if self.uncompressed:
             self.rename(self.path)