summaryrefslogtreecommitdiff
path: root/kvmd/aiotools.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-06-08 22:22:28 +0300
committerDevaev Maxim <[email protected]>2021-06-08 22:22:28 +0300
commit240f3e095b063d3fdebb512c87c493b81c0dd9e3 (patch)
treedd2bec36a9aa5852f8209db08717f58738b06e45 /kvmd/aiotools.py
parent2724a14eab26030fc0f2c830b12aa613a3b8e8a8 (diff)
lint fix
Diffstat (limited to 'kvmd/aiotools.py')
-rw-r--r--kvmd/aiotools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/aiotools.py b/kvmd/aiotools.py
index f93669f9..7f5914f2 100644
--- a/kvmd/aiotools.py
+++ b/kvmd/aiotools.py
@@ -85,7 +85,7 @@ async def wait_infinite() -> None:
await asyncio.get_event_loop().create_future()
-async def wait_first(*aws: Awaitable) -> Tuple[Set[asyncio.Future], Set[asyncio.Future]]:
+async def wait_first(*aws: Awaitable) -> Tuple[Set[asyncio.Task], Set[asyncio.Task]]:
return (await asyncio.wait(list(aws), return_when=asyncio.FIRST_COMPLETED))