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:
f68858e
)
get_component_tarballs: Check for signature too
author
Guido Günther
<agx@sigxcpu.org>
Tue, 30 Jun 2020 08:03:32 +0000
(10:03 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Tue, 30 Jun 2020 08:06:41 +0000
(10:06 +0200)
Closes: #963968
gbp/scripts/common/__init__.py
patch
|
blob
|
history
diff --git
a/gbp/scripts/common/__init__.py
b/gbp/scripts/common/__init__.py
index b67e44c7475f23ee24d09ffa2cea23f6c60fab92..70e6f19d61be24ea2cc27797d90e7583fa2293d3 100644
(file)
--- a/
gbp/scripts/common/__init__.py
+++ b/
gbp/scripts/common/__init__.py
@@
-66,7
+66,10
@@
def get_component_tarballs(name, version, tarball, components):
comp_type,
os.path.dirname(tarball),
component)
- tarballs.append(DebianAdditionalTarball(cname, component))
+ sig = cname + '.asc'
+ if not os.path.exists(sig):
+ sig = None
+ tarballs.append(DebianAdditionalTarball(cname, component, sig=sig))
if not os.path.exists(cname):
raise GbpError("Can not find component tarball %s" % cname)
return tarballs