summaryrefslogtreecommitdiff
path: root/kvmd/aiotools.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-11-20 07:08:13 +0200
committerMaxim Devaev <[email protected]>2023-11-20 07:08:13 +0200
commit0e42e10c29503d109368542245cdbe6e7ad723c6 (patch)
treefc8f3d4527c31f83fca90ba3d05f05174b26f4cb /kvmd/aiotools.py
parent627f7821efbdabf58d748a9bd395545ee1e20b23 (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 8449419e..2b148573 100644
--- a/kvmd/aiotools.py
+++ b/kvmd/aiotools.py
@@ -202,7 +202,7 @@ async def wait_infinite() -> None:
await asyncio.sleep(3600)
-async def wait_first(*aws: (asyncio.Future | asyncio.Task)) -> tuple[set[asyncio.Task], set[asyncio.Task]]:
+async def wait_first(*aws: asyncio.Task) -> tuple[set[asyncio.Task], set[asyncio.Task]]:
return (await asyncio.wait(list(aws), return_when=asyncio.FIRST_COMPLETED))