diff options
author | Devaev Maxim <[email protected]> | 2019-09-12 02:13:52 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-12 02:13:52 +0300 |
commit | 6ce9f4c7a970a01f9feca77eb6156d6fadb91202 (patch) | |
tree | 5c7b4b53979138128cc0d7e0b36e95ef0c3dbf47 /kvmd/plugins/atx | |
parent | 8214a20d4af3fdb59bb35bd8f83d3d9977de8f35 (diff) |
separate region exceptions
Diffstat (limited to 'kvmd/plugins/atx')
-rw-r--r-- | kvmd/plugins/atx/__init__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kvmd/plugins/atx/__init__.py b/kvmd/plugins/atx/__init__.py index da08afd5..902e3e7c 100644 --- a/kvmd/plugins/atx/__init__.py +++ b/kvmd/plugins/atx/__init__.py @@ -24,8 +24,6 @@ from typing import Dict from typing import AsyncGenerator from typing import Type -from ... import aioregion - from .. import BasePlugin from .. import get_plugin_class @@ -39,8 +37,9 @@ class AtxOperationError(AtxError): pass -class AtxIsBusyError(AtxOperationError, aioregion.RegionIsBusyError): - pass +class AtxIsBusyError(AtxOperationError): + def __init__(self) -> None: + super().__init__("Performing another ATX operation, please try again later") # ===== |