Skip to content

Commit e0be9bc

Browse files
committed
Remove unused and bitrotten get_authors_email
- Legacy-Id: 6711
1 parent 3a48346 commit e0be9bc

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

ietf/secr/drafts/email.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ def get_abbr_authors(draft):
7878

7979
return result
8080

81-
def get_authors_email(draft):
82-
"""
83-
Takes a draft object and returns a string of authors suitable for an email to or cc field
84-
"""
85-
authors = []
86-
for a in draft.authors.all():
87-
initial = ''
88-
if a.person.first_name:
89-
initial = a.person.first_name[0] + '. '
90-
entry = '%s%s <%s>' % (initial,a.person.last_name,a.person.email())
91-
authors.append(entry)
92-
return ', '.join(authors)
93-
9481
def get_last_revision(filename):
9582
"""
9683
This function takes a filename, in the same form it appears in the InternetDraft record,

0 commit comments

Comments
 (0)