aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb.py')
-rw-r--r--gbp/deb.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gbp/deb.py b/gbp/deb.py
index 9f81c6a5..7d612d3b 100644
--- a/gbp/deb.py
+++ b/gbp/deb.py
@@ -46,6 +46,10 @@ compressor_opts = { 'gzip' : [ '-n', 'gz' ],
'lzma' : [ '', 'lzma' ],
'xz' : [ '', 'xz' ] }
+# Map frequently used names of compression types to the internal ones:
+compressor_aliases = { 'bz2' : 'bzip2',
+ 'gz' : 'gzip', }
+
class NoChangelogError(Exception):
"""no changelog found"""
pass