mail: remove redundant bytesurl() from addrlistencode()
_addressencode() returns a bytes.
--- a/mercurial/mail.py Sun Aug 12 11:43:24 2018 +0900
+++ b/mercurial/mail.py Sun Aug 12 12:01:34 2018 +0900
@@ -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