7bdcb23fb8
On the client side it should use only 'qubesadmin'. In practice, those few are trivial to replace: - get_disk_usage() is also available in shutil (as disk_usage()) - BackupCancelledError should be used from qubesadmin.exc anyway (there was also a typo) Remove also test-packages/qubes to let pylint detect such issues in the future. QubesOS/qubes-issues#5403
19 lines
337 B
Python
19 lines
337 B
Python
### mock qubesadmin.exc module
|
|
# pylint: disable=unused-variable
|
|
|
|
|
|
class QubesException(BaseException):
|
|
pass
|
|
|
|
class QubesVMNotStartedError(BaseException):
|
|
pass
|
|
|
|
class QubesPropertyAccessError(BaseException):
|
|
pass
|
|
|
|
class QubesDaemonNoResponseError(BaseException):
|
|
pass
|
|
|
|
class BackupCancelledError(BaseException):
|
|
pass
|