mercurial/wireproto.py
changeset 34726 daf12f69699f
parent 34613 5e61cd5fb0fc
child 34729 6f532c1a4af0
--- a/mercurial/wireproto.py	Sat Oct 14 12:00:35 2017 -0400
+++ b/mercurial/wireproto.py	Sat Oct 14 12:02:15 2017 -0400
@@ -112,7 +112,7 @@
 
         for command, args, opts, finalfuture in self.calls:
             mtd = getattr(self._remote, command)
-            batchable = mtd.batchable(mtd.im_self, *args, **opts)
+            batchable = mtd.batchable(mtd.__self__, *args, **opts)
 
             commandargs, fremote = next(batchable)
             assert fremote