mirror of
https://github.com/aaiyer/rfoo.git
synced 2025-04-20 03:37:37 +03:00
Fix pipe client initialization exception (raised by parent initializer)
This commit is contained in:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user