[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] daklib/announce.py: use correct subst dict when closing bugs



---
 daklib/announce.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/announce.py b/daklib/announce.py
index dec3e60..1b207b4 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):
-- 
1.7.2.5


Reply to: