For manual posting of an I-D by the Secretariat, include the RFC Editor on the email message if the I-D is in the RFC Editor Queue. Fixes #1751.

- Legacy-Id: 10569
This commit is contained in:
Russ Housley 2015-12-10 22:55:04 +00:00
parent 0052a4f733
commit a380a7ff27

View file

@ -106,6 +106,7 @@ def get_revision_emails(draft):
custom mail lists for the document or group
2) the main AD, via id_internal.job_owner
3) any ad who has marked "discuss" in the ballot associated with this id_internal
4) And now, also, the RFC Editor if the draft is in the RFC Editor Queue
"""
# from legacy
if not draft.get_state('draft-iesg'):
@ -122,6 +123,9 @@ def get_revision_emails(draft):
if pos and pos.pos_id == "discuss":
emails.append(ad.role_email("ad").address)
if draft.get_state('draft-iesg').slug == "rfcqueue":
emails.append('rfc-editor@rfc-editor.org')
return ', '.join(emails)
def add_email(emails,person):