Fix positional arguments accidentally left optional after refactor

This commit is contained in:
Kristóf Tóth 2019-06-23 20:53:24 +02:00
parent ed62c1d01c
commit 48ffb7804a

View File

@ -7,7 +7,7 @@ from .terminate_process_on_failure import terminate_process_on_failure
class PipeIOServer(Thread): class PipeIOServer(Thread):
def __init__(self, in_pipe=None, out_pipe=None, permissions=0o600): def __init__(self, in_pipe, out_pipe, permissions=0o600):
super().__init__(daemon=True) super().__init__(daemon=True)
self._in_pipe, self._out_pipe = in_pipe, out_pipe self._in_pipe, self._out_pipe = in_pipe, out_pipe
self._create_pipes(permissions) self._create_pipes(permissions)