]> git.decadent.org.uk Git - dak.git/commitdiff
Revert "Use only 'xz' as default compression for Sources and Packages"
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 30 Mar 2016 22:04:58 +0000 (00:04 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 30 Mar 2016 22:04:58 +0000 (00:04 +0200)
This reverts commit 196b3433d455b925758d6a46751a1f0b01617213.

daklib/filewriter.py

index 0f9d617e0e21f10589c5a9fe69a00d0feeb5f644..6f5da4f0d8314c5aeecc0c5a216b7b37f9b6db23 100644 (file)
@@ -145,7 +145,7 @@ class PackagesFileWriter(BaseFileWriter):
         are strings.  Output files are gzip compressed only.
         '''
         flags = {
-            'compression': ['xz'],
+            'compression': ['gzip', 'xz'],
         }
         flags.update(keywords)
         if flags['debtype'] == 'deb':
@@ -161,7 +161,7 @@ class SourcesFileWriter(BaseFileWriter):
         files are gzip compressed only.
         '''
         flags = {
-            'compression': ['xz'],
+            'compression': ['gzip', 'xz'],
         }
         flags.update(keywords)
         template = "%(archive)s/dists/%(suite)s/%(component)s/source/Sources"