Fix diamond inheritance & missing __init__ parameters
This commit is contained in:
parent
8b6e82be38
commit
e92c0e7357
@ -4,7 +4,7 @@ from .terminate_process_on_failure import terminate_process_on_failure
|
||||
|
||||
|
||||
class PipeIOThread(Thread):
|
||||
def __init__(self):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(daemon=True)
|
||||
self._stop_event = Event()
|
||||
self.__io_threads = []
|
||||
|
@ -11,7 +11,11 @@ class PipeReaderServer(PipeIOThread):
|
||||
manage_pipes=True,
|
||||
**kwargs
|
||||
):
|
||||
super().__init__(**kwargs)
|
||||
super().__init__(
|
||||
permissions=permissions,
|
||||
manage_pipes=manage_pipes,
|
||||
**kwargs
|
||||
)
|
||||
self._reader_thread = None
|
||||
self._manage_pipes = manage_pipes
|
||||
self._in_pipe = in_pipe
|
||||
|
@ -11,7 +11,11 @@ class PipeWriterServer(PipeIOThread):
|
||||
manage_pipes=True,
|
||||
**kwargs
|
||||
):
|
||||
super().__init__(**kwargs)
|
||||
super().__init__(
|
||||
permissions=permissions,
|
||||
manage_pipes=manage_pipes,
|
||||
**kwargs
|
||||
)
|
||||
self._writer_thread = None
|
||||
self._manage_pipes = manage_pipes
|
||||
self._out_pipe = out_pipe
|
||||
|
Loading…
Reference in New Issue
Block a user