diff --git a/qubesadmin/exc.py b/qubesadmin/exc.py index 0441ade..9530a2f 100644 --- a/qubesadmin/exc.py +++ b/qubesadmin/exc.py @@ -116,6 +116,11 @@ class QubesDaemonCommunicationError(QubesException, IOError): permissions, as well''' +class DeviceAlreadyAttached(QubesException, KeyError): + '''Trying to attach already attached device''' + pass + + # pylint: disable=too-many-ancestors class QubesDaemonNoResponseError(QubesDaemonCommunicationError): '''Got empty response from qubesd'''