From 4a855b7ce0060012ad7a208254dab69c3f031f14 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 27 Nov 2012 11:13:33 +0100 Subject: [PATCH] dak/generate_releases.py: pull components from the database Address FIXME that talks about pulling Components from the DB. Signed-off-by: Tollef Fog Heen Signed-off-by: Ansgar Burchardt --- dak/generate_releases.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 798726bb..03081627 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -173,9 +173,7 @@ class ReleaseWriter(object): out.write("Architectures: %s\n" % (" ".join([a.arch_string for a in architectures]))) - ## FIXME: Components need to be adjusted to whatever will be in the db - ## Needs putting in the DB - components = ['main', 'contrib', 'non-free'] + 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 )))) -- 2.39.2