We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 131a702 commit 22d83d2Copy full SHA for 22d83d2
1 file changed
ietf/bin/generate-draft-aliases
@@ -65,7 +65,7 @@ def get_draft_authors_emails(draft):
65
" Get list of authors for the given draft."
66
67
# 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()]
+ return [author.email.email_address() for author in draft.documentauthor_set.all() if author.email and author.email.email_address()]
69
70
# This gives fairly small delta compared to current state,
71
# however, it seems to be wrong (doesn't check for emails being
0 commit comments