Fix new complaint by ruff 0.2.1 (#4898)

This commit is contained in:
Stefan Agner 2024-02-16 14:35:31 +01:00 committed by GitHub
parent 897cc36017
commit e32970f191
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,7 +249,7 @@ class Mount(CoreSysAttributes, ABC):
DBUS_ATTR_ACTIVE_STATE
].value
except asyncio.TimeoutError:
except TimeoutError:
_LOGGER.warning(
"Mount %s still in state %s after waiting for 30 seconds to complete",
self.name,