mercurial/sshpeer.py
changeset 50917 882687259181
parent 50699 b11421f3daf9
child 50926 18c8c18993f0
--- a/mercurial/sshpeer.py	Wed Aug 30 01:23:30 2023 +0200
+++ b/mercurial/sshpeer.py	Wed Aug 30 11:50:01 2023 +0200
@@ -130,7 +130,7 @@
             if sideready:
                 _forwardoutput(self._ui, self._side)
             if mainready:
-                meth = getattr(self._main, methname)
+                meth = getattr(self._main, pycompat.sysstr(methname))
                 if data is None:
                     return meth()
                 else: