Skip to content

Commit 22d83d2

Browse files
committed
Fixed another place where None author email needed an extra guard.
- Legacy-Id: 13573
1 parent 131a702 commit 22d83d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/bin/generate-draft-aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_draft_authors_emails(draft):
6565
" Get list of authors for the given draft."
6666

6767
# This feels 'correct'; however, it creates fairly large delta
68-
return [author.email.email_address() for author in draft.documentauthor_set.all() if author.email.email_address()]
68+
return [author.email.email_address() for author in draft.documentauthor_set.all() if author.email and author.email.email_address()]
6969

7070
# This gives fairly small delta compared to current state,
7171
# however, it seems to be wrong (doesn't check for emails being

0 commit comments

Comments
 (0)