]> git.decadent.org.uk Git - dak.git/commitdiff
Use correct value for __SUITE__ template variable
authorAnsgar Burchardt <ansgar@43-1.org>
Sun, 12 Sep 2010 07:24:42 +0000 (16:24 +0900)
committerJoerg Jaspert <joerg@debian.org>
Mon, 13 Sep 2010 05:34:12 +0000 (07:34 +0200)
Concatenate all distribution names from the .changes file using ", " as
a separator.

Signed-off-by: Ansgar Burchardt <ansgar@43-1.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/queue.py

index 64ef0f24ccde16d9ba4d29c3329ea6f3e06bdce6..c4c4b53fc3f7dd42b28226d3e6974be290ea5ac1 100755 (executable)
@@ -353,7 +353,7 @@ class Upload(object):
         self.Subst["__REJECT_MESSAGE__"] = self.package_info()
         self.Subst["__SOURCE__"] = self.pkg.changes.get("source", "Unknown")
         self.Subst["__VERSION__"] = self.pkg.changes.get("version", "Unknown")
-        self.Subst["__SUITE__"] = self.pkg.changes["distribution"].keys()
+        self.Subst["__SUITE__"] = ", ".join(self.pkg.changes["distribution"])
 
     ###########################################################################
     def load_changes(self, filename):