mercurial/wireprotov1peer.py
changeset 38328 aa9dd805234d
parent 37810 856f381ad74b
child 38783 e7aa113b14f7
--- a/mercurial/wireprotov1peer.py	Sat Jun 16 17:04:03 2018 +0900
+++ b/mercurial/wireprotov1peer.py	Sat Jun 16 17:36:44 2018 +0900
@@ -355,7 +355,7 @@
         yield {'nodes': wireprototypes.encodelist(nodes)}, f
         d = f.value
         try:
-            yield [bool(int(b)) for b in d]
+            yield [bool(int(b)) for b in pycompat.iterbytestr(d)]
         except ValueError:
             self._abort(error.ResponseError(_("unexpected response:"), d))