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

[dak/master] 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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/announce.py b/daklib/announce.py
index 08fd3f1..e784df0 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)
-- 
1.7.2.5


Reply to: