summaryrefslogtreecommitdiff
path: root/kvmd/clients
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-19 17:02:26 +0300
committerMaxim Devaev <[email protected]>2022-07-19 17:02:26 +0300
commitc58cc99582c820b14bea7281b4b5b210ee720e8b (patch)
tree5954ce3b6da95b8387a5b403037907f0f9542bae /kvmd/clients
parentadf4be9bf7c3b04fde04a6f3e516e48c5ea1a1e6 (diff)
lint fixes
Diffstat (limited to 'kvmd/clients')
-rw-r--r--kvmd/clients/kvmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/clients/kvmd.py b/kvmd/clients/kvmd.py
index 6a15937b..4a996be2 100644
--- a/kvmd/clients/kvmd.py
+++ b/kvmd/clients/kvmd.py
@@ -135,7 +135,7 @@ class KvmdClientWs:
self.__writer_queue: "asyncio.Queue[Tuple[str, Dict]]" = asyncio.Queue()
self.__communicated = False
- async def communicate(self) -> AsyncGenerator[Tuple[str, Dict], None]:
+ async def communicate(self) -> AsyncGenerator[Tuple[str, Dict], None]: # pylint: disable=too-many-branches
assert not self.__communicated
self.__communicated = True
receive_task: Optional[asyncio.Task] = None