From: Ansgar Burchardt Date: Tue, 7 May 2013 07:24:41 +0000 (+0200) Subject: dak/generate_releases.py: don't include "updates/" twice X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=08a44de2e6aec2dce29cceec2e296c3f574a2a25;p=dak.git dak/generate_releases.py: don't include "updates/" twice On the security archive "updates" is both suite suffix and part of the component name. It should only be included once in the Components field. Bug: http://bugs.debian.org/702386 --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index a849f36d..6a1bf84e 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -178,7 +178,7 @@ class ReleaseWriter(object): components = [ c.component_name for c in session.query(Component) ] - out.write("Components: %s\n" % ( " ".join(map(lambda x: "%s%s" % (suite_suffix, x), components )))) + out.write("Components: %s\n" % (" ".join(components))) # For exact compatibility with old g-r, write out Description here instead # of with the rest of the DB fields above