From: Ansgar Burchardt Date: Sun, 12 Sep 2010 07:24:42 +0000 (+0900) Subject: Use correct value for __SUITE__ template variable X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7e0e53858c29e276422589e6b384b375bb189f7e;p=dak.git Use correct value for __SUITE__ template variable Concatenate all distribution names from the .changes file using ", " as a separator. Signed-off-by: Ansgar Burchardt Signed-off-by: Joerg Jaspert --- diff --git a/daklib/queue.py b/daklib/queue.py index 64ef0f24..c4c4b53f 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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):