mercurial/commandserver.py
changeset 50558 ef5435e7604e
parent 50557 6e749d4abf05
child 50559 48e69a056754
--- a/mercurial/commandserver.py	Thu Feb 02 17:20:54 2023 +0100
+++ b/mercurial/commandserver.py	Thu Feb 02 17:21:04 2023 +0100
@@ -384,7 +384,7 @@
         if self.cmsg:
             hellomsg += b'message-encoding: %s\n' % self.cmsg.encoding
         hellomsg += b'pid: %d' % procutil.getpid()
-        if util.safehasattr(os, b'getpgid'):
+        if util.safehasattr(os, 'getpgid'):
             hellomsg += b'\n'
             hellomsg += b'pgid: %d' % os.getpgid(0)