Mercurial > hg > mercurial-source
diff mercurial/mail.py @ 39891:f68ad9b4a43b
mail: remove redundant bytesurl() from addrlistencode()
_addressencode() returns a bytes.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 12 Aug 2018 12:01:34 +0900 (2018-08-12) |
parents | 952bf3c948f0 |
children | ebf54a34b7b7 |
line wrap: on
line diff
--- a/mercurial/mail.py +++ b/mercurial/mail.py @@ -348,7 +348,7 @@ [encoding.strfromlocal(a) for a in addrs]): if name or addr: result.append(_addressencode(ui, name, addr, charsets)) - return [pycompat.bytesurl(r) for r in result] + return result def mimeencode(ui, s, charsets=None, display=False): '''creates mime text object, encodes it if needed, and sets