diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-01-15 15:38:47 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-01-15 15:38:47 +0100 |
commit | 0b2b869ded3e1baf845780b4ca2360e0cbaea63a (patch) | |
tree | e9fe8c13e6168c6edf6df6879ba5df312f9e5077 /git-buildpackage | |
parent | afad4f9feeaebb99ab4715ba5b36170abc436734 (diff) |
git-buildpackage: fix fallback to auto detection for unknown compression types
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-x | git-buildpackage | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-buildpackage b/git-buildpackage index ccca18b..f26dfd9 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -185,7 +185,8 @@ def guess_comp_type(repo, comp_type, srcpkg, upstream_version): except KeyError: gbp.log.warn("Unknown compression type - guessing.") comp_type = 'auto' - else: + + if comp_type == 'auto': if not repo.has_branch(PristineTar.branch): comp_type = 'gzip' else: |