Remove unused and bitrotten get_authors_email
- Legacy-Id: 6711
This commit is contained in:
parent
3a483461a2
commit
e0be9bcb95
|
@ -78,19 +78,6 @@ def get_abbr_authors(draft):
|
|||
|
||||
return result
|
||||
|
||||
def get_authors_email(draft):
|
||||
"""
|
||||
Takes a draft object and returns a string of authors suitable for an email to or cc field
|
||||
"""
|
||||
authors = []
|
||||
for a in draft.authors.all():
|
||||
initial = ''
|
||||
if a.person.first_name:
|
||||
initial = a.person.first_name[0] + '. '
|
||||
entry = '%s%s <%s>' % (initial,a.person.last_name,a.person.email())
|
||||
authors.append(entry)
|
||||
return ', '.join(authors)
|
||||
|
||||
def get_last_revision(filename):
|
||||
"""
|
||||
This function takes a filename, in the same form it appears in the InternetDraft record,
|
||||
|
|
Loading…
Reference in a new issue