From dd63fd754ee3300edce2e1bf7bf326d12ee5d66f Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 14:54:15 +0200 Subject: [PATCH] dak/process_upload.py: set __ANNOUNCE_LIST_ADDRESS__ subst variable --- dak/process_upload.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dak/process_upload.py b/dak/process_upload.py index 28a60a93..8b9a178a 100755 --- a/dak/process_upload.py +++ b/dak/process_upload.py @@ -309,12 +309,16 @@ def accept(directory, upload): continue announce.update(suite.announce or []) announce_address = ", ".join(announce) + subst['__ANNOUNCE_LIST_ADDRESS__'] = announce_address + tracking = cnf.get('Dinstall::TrackingServer') if tracking and 'source' in upload.changes.architectures: announce_address = '{0}\nBcc: {1}@{2}'.format(announce_address, control['Source'], tracking) message = utils.TemplateSubst(subst, os.path.join(cnf['Dir::Templates'], 'process-unchecked.announce')) utils.send_mail(message) + del subst['__ANNOUNCE_LIST_ADDRESS__'] + # Only close bugs for uploads that were not redirected to a policy queue. # process-policy will close bugs for those once they are accepted. subst = subst_for_upload(upload) -- 2.39.5