diff options
author | Devaev Maxim <[email protected]> | 2021-06-08 22:22:28 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-06-08 22:22:28 +0300 |
commit | 240f3e095b063d3fdebb512c87c493b81c0dd9e3 (patch) | |
tree | dd2bec36a9aa5852f8209db08717f58738b06e45 /kvmd/aiotools.py | |
parent | 2724a14eab26030fc0f2c830b12aa613a3b8e8a8 (diff) |
lint fix
Diffstat (limited to 'kvmd/aiotools.py')
-rw-r--r-- | kvmd/aiotools.py | 2 |
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)) |