Skip to content

Commit e36cad6

Browse files
committed
Include an explicitly set Responsible ADs email addresses in generated aliases when a document has a group. Commit ready for merge.
- Legacy-Id: 14404
1 parent d415d86 commit e36cad6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/bin/generate-draft-aliases

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ def get_draft_ad_emails(draft):
5454
# If working group document, return current WG ADs
5555
wg = draft.group
5656
if wg and wg.acronym != 'none' and wg.parent and wg.parent.acronym != 'none':
57-
return get_group_ad_emails(wg)
57+
ad_emails = get_group_ad_emails(wg)
58+
if draft.ad:
59+
if draft.ad.email_address() not in ad_emails:
60+
ad_emails.add(draft.ad.email_address())
61+
return ad_emails
5862
# If not, return explicit AD set (whether up to date or not)
5963
ad = draft.ad
6064
#return [ad and ad.user and ad.user.email]

0 commit comments

Comments
 (0)