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 6f5da4f..0f9d617 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"