--- a/contrib/hgclient.py Mon Feb 21 13:03:43 2022 -0700
+++ b/contrib/hgclient.py Mon Feb 21 13:08:28 2022 -0700
@@ -49,7 +49,7 @@
return server
-class unixconnection(object):
+class unixconnection:
def __init__(self, sockpath):
self.sock = sock = socket.socket(socket.AF_UNIX)
sock.connect(sockpath)
@@ -62,7 +62,7 @@
self.sock.close()
-class unixserver(object):
+class unixserver:
def __init__(self, sockpath, logpath=None, repopath=None):
self.sockpath = sockpath
cmdline = [b'hg', b'serve', b'--cmdserver', b'unix', b'-a', sockpath]