Skip to content
Snippets Groups Projects
Commit f17ca8ed authored by César Izurieta's avatar César Izurieta
Browse files

Use author as email when it is an email

parent 6d4f3b6d
No related branches found
No related tags found
No related merge requests found
......@@ -286,6 +286,8 @@
if len(a.group(3)) > 0:
name += ' ext:(' + urllib.quote(a.group(3)) + ')'
author = name + ' <' + email + '>'
elif '@' in author:
author = author + ' <' + author + '>'
else:
author = author + ' <none@none>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment