diff options
author | Andreas Beckmann <anbe@debian.org> | 2018-09-07 11:54:31 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-09-21 13:32:54 +0200 |
commit | 12574cce0cc12ca0f17a91cacea358bdc2f1a737 (patch) | |
tree | 28d35da10777bd214540864f57b883a8e6ca0627 /gbp | |
parent | e47b2a69800edf4229551f9ee341e98732694f37 (diff) |
debian.source: Enumerate components only once
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/deb/source.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/deb/source.py b/gbp/deb/source.py index f1e2c569..a75de07c 100644 --- 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 |