Remove unused and bitrotten get_authors_email

- Legacy-Id: 6711
This commit is contained in:
Ole Laursen 2013-11-15 12:50:24 +00:00
parent 3a483461a2
commit e0be9bcb95

View file

@ -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,