changeset 50559 | 48e69a056754 |
parent 50558 | ef5435e7604e |
child 50560 | 9342271eef31 |
--- a/mercurial/commandserver.py Thu Feb 02 17:21:04 2023 +0100 +++ b/mercurial/commandserver.py Thu Feb 02 17:21:14 2023 +0100 @@ -559,7 +559,7 @@ self.ui = ui self.repo = repo self.address = opts[b'address'] - if not util.safehasattr(socket, b'AF_UNIX'): + if not util.safehasattr(socket, 'AF_UNIX'): raise error.Abort(_(b'unsupported platform')) if not self.address: raise error.Abort(_(b'no socket path specified with --address'))