diff options
author | Devaev Maxim <[email protected]> | 2020-03-16 02:32:19 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-03-16 02:42:23 +0300 |
commit | 966267ebb9a89e1898c6009c7e85e5f837109aef (patch) | |
tree | 0b246895685545393352e5d821363883d099c560 /kvmd/aiotools.py | |
parent | 5b58af4d6f433fcbf16e967404a5cd85a85eefba (diff) |
asyncio.CancelledError is a subclass of BaseException since 3.8
Diffstat (limited to 'kvmd/aiotools.py')
-rw-r--r-- | kvmd/aiotools.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kvmd/aiotools.py b/kvmd/aiotools.py index 10510b77..a2bed6bf 100644 --- a/kvmd/aiotools.py +++ b/kvmd/aiotools.py @@ -178,8 +178,6 @@ async def run_region_task( async with region: entered.set_result(None) await method(*args, **kwargs) - except asyncio.CancelledError: # pylint: disable=try-except-raise - raise except region.get_exc_type(): raise except Exception: |