From 680dad9570744a4189fedb0aa4c468df1f01d705 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 25 Apr 2008 00:39:44 +0200 Subject: [PATCH] Fix Thomas patch so that it works in all cases --- daklib/queue.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daklib/queue.py b/daklib/queue.py index a5a8eab4..7bf2df18 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -285,6 +285,8 @@ class Upload: else: Subst["__MAINTAINER_FROM__"] = changes["maintainer2047"] Subst["__MAINTAINER_TO__"] = changes["maintainer2047"] + if "sponsoremail" in changes: + Subst["__MAINTAINER_TO__"] += ", %s"%changes["sponsoremail"] Subst["__MAINTAINER__"] = changes.get("maintainer", "Unknown") if self.Cnf.has_key("Dinstall::TrackingServer") and changes.has_key("source"): Subst["__MAINTAINER_TO__"] += "\nBcc: %s@%s" % (changes["source"], self.Cnf["Dinstall::TrackingServer"]) -- 2.39.5