From 08a44de2e6aec2dce29cceec2e296c3f574a2a25 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 7 May 2013 09:24:41 +0200 Subject: [PATCH] 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 --- dak/generate_releases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2