From: Ansgar Burchardt Date: Wed, 15 Aug 2012 23:31:35 +0000 (+0200) Subject: daklib/announce.py: use correct subst dict when closing bugs X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=856613c1e5587e169f726bea64badcdc1166ad8b;p=dak daklib/announce.py: use correct subst dict when closing bugs --- diff --git a/daklib/announce.py b/daklib/announce.py index dec3e602..1b207b4e 100644 --- a/daklib/announce.py +++ b/daklib/announce.py @@ -148,7 +148,7 @@ def announce_accept(upload): my_subst = subst.copy() my_subst['__BUG_NUMBER__'] = str(bug) - message = TemplateSubst(subst, os.path.join(cnf['Dir::Templates'], 'process-unchecked.bug-close')) + message = TemplateSubst(my_subst, os.path.join(cnf['Dir::Templates'], 'process-unchecked.bug-close')) send_mail(message) def announce_new(upload):