From 0fab53cccada95ca246bc88fe4ba95a653f716db Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 20 May 2013 12:39:45 +0200 Subject: [PATCH] Send copy of rejections to the rejector Copies of rejections should go to the people responsible for the rejection and not to the dak's mail address: if the backports team in Debian rejects uploads, they should get the copy and not the ftp team. --- daklib/announce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/announce.py b/daklib/announce.py index 08fd3f10..e784df03 100644 --- a/daklib/announce.py +++ b/daklib/announce.py @@ -107,7 +107,7 @@ def announce_reject(upload, reason, rejected_by=None): subst['__REJECTOR_ADDRESS__'] = rejected_by if not automatic: - subst['__BCC__'] = '{0}\nBcc: {1}'.format(subst['__BCC__'], cnf['Dinstall::MyEmailAddress']) + subst['__BCC__'] = '{0}\nBcc: {1}'.format(subst['__BCC__'], subst['__REJECTOR_ADDRESS__']) message = TemplateSubst(subst, os.path.join(cnf['Dir::Templates'], 'queue.rejected')) send_mail(message, whitelists=whitelists) -- 2.39.5