diff options
Diffstat (limited to 'kvmd/plugins/msd/relay.py')
-rw-r--r-- | kvmd/plugins/msd/relay.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py index 34899f42..09a8710e 100644 --- a/kvmd/plugins/msd/relay.py +++ b/kvmd/plugins/msd/relay.py @@ -359,8 +359,6 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes if self.__device_file: get_logger().info("Closing device file ...") await self.__device_file.close() - except asyncio.CancelledError: # pylint: disable=try-except-raise - raise except Exception: get_logger().exception("Can't close device file") finally: @@ -374,8 +372,6 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes try: self.__device_info = await aiotools.run_async(_explore_device, self.__device_path) break - except asyncio.CancelledError: # pylint: disable=try-except-raise - raise except Exception: if retries == 0: self.__device_info = None |