From: Joerg Jaspert Date: Fri, 25 Apr 2008 22:32:40 +0000 (+0200) Subject: One time is enough X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c243e7c19fc8de258b2e7f6e0de406cba626645a;p=dak.git One time is enough --- diff --git a/daklib/queue.py b/daklib/queue.py index d5314c97..e2c7396a 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -280,15 +280,15 @@ class Upload: Subst["__MAINTAINER_FROM__"] = changes["changedby2047"] Subst["__MAINTAINER_TO__"] = "%s, %s" % (changes["changedby2047"], changes["maintainer2047"]) - if "sponsoremail" in changes: - Subst["__MAINTAINER_TO__"] += ", %s"%changes["sponsoremail"] Subst["__MAINTAINER__"] = changes.get("changed-by", "Unknown") 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 "sponsoremail" in changes: + Subst["__MAINTAINER_TO__"] += ", %s"%changes["sponsoremail"] + if self.Cnf.has_key("Dinstall::TrackingServer") and changes.has_key("source"): Subst["__MAINTAINER_TO__"] += "\nBcc: %s@%s" % (changes["source"], self.Cnf["Dinstall::TrackingServer"])