Fix pipe client initialization exception (raised by parent initializer)

This commit is contained in:
Jiri Lunacek 2025-03-13 09:52:23 +01:00
parent 1555bd4eed
commit 9e75aa80fe

@ -345,9 +345,14 @@ class PipeSocket(object):
class PipeConnection(Connection):
"""Connection type for pipes."""
def __init__(self):
# do nothing here. We don't have the socket object yet
pass
def connect(self, pipe_socket):
self._conn = pipe_socket
# initialize parent with pipe socket
# and connect
Connection.__init__(self, pipe_socket)
self._conn.connect()
return self