提交 7e0e5385 编写于 作者: A Ansgar Burchardt 提交者: Joerg Jaspert

Use correct value for __SUITE__ template variable

Concatenate all distribution names from the .changes file using ", " as
a separator.
Signed-off-by: NAnsgar Burchardt <ansgar@43-1.org>
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 0c59a4d8
......@@ -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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册