diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -153,7 +153,7 @@ def decodelist(l, sep=' '): if l: - return map(bin, l.split(sep)) + return [bin(v) for v in l.split(sep)] return [] def encodelist(l, sep=' '):