projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9483553
)
guess_comp_type: return empty string for orig_file with no compression
author
Ed Bartosh
<eduard.bartosh@intel.com>
Tue, 29 May 2012 08:18:12 +0000
(11:18 +0300)
committer
Ed Bartosh
<eduard.bartosh@intel.com>
Tue, 29 May 2012 08:18:12 +0000
(11:18 +0300)
Change-Id: Ic123febfc9298ce7e6b3ea0d880404744d4b5dd6
gbp/scripts/buildpackage_rpm.py
patch
|
blob
|
history
diff --git
a/gbp/scripts/buildpackage_rpm.py
b/gbp/scripts/buildpackage_rpm.py
index 00b8dec8afc0d46423dc662198b06068bee5bfbe..783c424b10727f7219fd5b6fcf54d2b8f5739f4a 100755
(executable)
--- a/
gbp/scripts/buildpackage_rpm.py
+++ b/
gbp/scripts/buildpackage_rpm.py
@@
-199,6
+199,8
@@
def git_archive_build_orig(repo, spec, output_dir, options):
def guess_comp_type(spec):
+ if not spec.orig_comp:
+ return ''
if spec.orig_comp in compressor_opts:
return spec.orig_comp
if spec.orig_comp in compressor_aliases: