[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/generate_releases.py b/dak/generate_releases.py
index a849f36..6a1bf84 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
-- 
1.7.2.5


Reply to: