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:
e47b2a6
)
debian.source: Enumerate components only once
author
Andreas Beckmann
<anbe@debian.org>
Fri, 7 Sep 2018 09:54:31 +0000
(11:54 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Fri, 21 Sep 2018 11:32:54 +0000
(13:32 +0200)
gbp/deb/source.py
patch
|
blob
|
history
diff --git
a/gbp/deb/source.py
b/gbp/deb/source.py
index f1e2c5696e335d4ed0cc4dae32c6f7fd18780d22..a75de07c5e38e525ca658af7f4346b097501ec25 100644
(file)
--- a/
gbp/deb/source.py
+++ b/
gbp/deb/source.py
@@
-158,6
+158,5
@@
class DebianSource(object):
component names
"""
names = [self.upstream_tarball_name(comp_type)]
- for component in (components or []):
- names += [self.upstream_tarball_name(comp_type, c) for c in components]
+ names += [self.upstream_tarball_name(comp_type, c) for c in (components or [])]
return names