Added the secretariat to the recipient list for publication request emails generated by the datatracker. Fixes issue #964.

- Legacy-Id: 5698
This commit is contained in:
Henrik Levkowetz 2013-05-06 16:34:37 +00:00
parent aff678bb11
commit 45cd8788d1

View file

@ -259,7 +259,7 @@ def get_notification_receivers(doc, extra_notify):
return res
def get_pubreq_receivers(doc, extra_notify):
res = []
res = [u'"IESG Secretary" <iesg-secretary@ietf.org>', ]
for r in Role.objects.filter(person=doc.group.ad,name__slug='ad'):
res.append(u'"%s" <%s>' % (r.person.plain_name(), r.email.address))