##// END OF EJS Templates
py3: convert bytes to str using encoding.strfromlocal...
Pulkit Goyal -
r36468:d478c8cd default
parent child Browse files
Show More
@@ -748,7 +748,7 def email(ui, repo, *revs, **opts):
748 if not parent.endswith('>'):
748 if not parent.endswith('>'):
749 parent += '>'
749 parent += '>'
750
750
751 sender_addr = eutil.parseaddr(sender)[1]
751 sender_addr = eutil.parseaddr(encoding.strfromlocal(sender))[1]
752 sender = mail.addressencode(ui, sender, _charsets, opts.get('test'))
752 sender = mail.addressencode(ui, sender, _charsets, opts.get('test'))
753 sendmail = None
753 sendmail = None
754 firstpatch = None
754 firstpatch = None
General Comments 0
You need to be logged in to leave comments. Login now