]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/announce.py: use correct subst dict when closing bugs
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 15 Aug 2012 23:31:35 +0000 (01:31 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 15 Aug 2012 23:31:35 +0000 (01:31 +0200)
daklib/announce.py

index dec3e6029ac971a57e04be00b30d8c4f93509ee5..1b207b4e7700ac3eeddfd4c2af6014c1661d14cc 100644 (file)
@@ -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):