diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-04-09 23:04:30 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-04-09 23:10:33 +0200 |
commit | c7bb3f195b4434abb8319fb2f92e1cb7955af982 (patch) | |
tree | 04a5cbf0fe3e5a3913f66279ffaca981d3b11b1d /gbp | |
parent | 9675b386088ff5af7d877f067b77f66e795203a2 (diff) |
Add aliases for gz and bz2 compression types
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/deb.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |