]> git.decadent.org.uk Git - dak.git/commitdiff
Use only 'xz' as default compression for Sources and Packages
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 30 Mar 2016 21:26:17 +0000 (23:26 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 30 Mar 2016 21:26:17 +0000 (23:26 +0200)
daklib/filewriter.py

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