Skip to content

Commit

Permalink
Include an explicitly set Responsible ADs email addresses in generate…
Browse files Browse the repository at this point in the history
…d aliases when a document has a group. Commit ready for merge.

 - Legacy-Id: 14404
  • Loading branch information
rjsparks committed Dec 7, 2017
1 parent d415d86 commit e36cad6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ietf/bin/generate-draft-aliases
Expand Up @@ -54,7 +54,11 @@ def get_draft_ad_emails(draft):
# If working group document, return current WG ADs
wg = draft.group
if wg and wg.acronym != 'none' and wg.parent and wg.parent.acronym != 'none':
return get_group_ad_emails(wg)
ad_emails = get_group_ad_emails(wg)
if draft.ad:
if draft.ad.email_address() not in ad_emails:
ad_emails.add(draft.ad.email_address())
return ad_emails
# If not, return explicit AD set (whether up to date or not)
ad = draft.ad
#return [ad and ad.user and ad.user.email]
Expand Down

0 comments on commit e36cad6

Please sign in to comment.