Add DeviceAlreadyAttached exception

This commit is contained in:
Marek Marczykowski-Górecki 2017-05-20 16:40:33 +02:00
parent d1387a93b3
commit 3edbc85282
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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'''