diff --git a/wake/cli/test.py b/wake/cli/test.py index c5369ccb..aa095b88 100644 --- a/wake/cli/test.py +++ b/wake/cli/test.py @@ -104,7 +104,7 @@ def shell_complete( type=str, help="Path to the shrink log file.", is_flag=False, - flag_value=0, + flag_value="0", default=None, required=False, ) @@ -116,7 +116,7 @@ def shell_complete( type=str, help="Path of shrank file.", is_flag=False, - flag_value=0, + flag_value="0", default=None, required=False, ) diff --git a/wake/development/json_rpc/communicator.py b/wake/development/json_rpc/communicator.py index 591b83d0..9b4ef177 100644 --- a/wake/development/json_rpc/communicator.py +++ b/wake/development/json_rpc/communicator.py @@ -43,7 +43,6 @@ class JsonRpcCommunicator: _protocol: ProtocolAbc _request_id: int _connected: bool - _interrupt_received: bool def __init__(self, config: WakeConfig, uri: str): if uri.startswith(("http://", "https://")): @@ -57,7 +56,7 @@ def __init__(self, config: WakeConfig, uri: str): self._request_id = 0 self._connected = False - self._interrupt_received = False + def __enter__(self): self._protocol.__enter__() self._connected = True