diff options
Diffstat (limited to 'kvmd/aioregion.py')
-rw-r--r-- | kvmd/aioregion.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kvmd/aioregion.py b/kvmd/aioregion.py index 0b57e801..4d5e16bc 100644 --- a/kvmd/aioregion.py +++ b/kvmd/aioregion.py @@ -26,13 +26,8 @@ from typing import Type # ===== -class RegionIsBusyError(Exception): - def __init__(self) -> None: - super().__init__("Performing another operation, please try again later") - - class AioExclusiveRegion: - def __init__(self, exc_type: Type[RegionIsBusyError]) -> None: + def __init__(self, exc_type: Type[Exception]) -> None: self.__exc_type = exc_type self.__busy = False |