exc: Make QubesMemoryError inherit from QubesVMError

Same as other vm-related errors.
This helps QubesTestCase.cleanup_traceback() cleanup VM reference.
This commit is contained in:
Marek Marczykowski-Górecki 2018-10-24 14:13:07 +02:00
parent 8be70c9e4d
commit 2f3a984742
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -159,7 +159,7 @@ class BackupCancelledError(QubesException):
msg or 'Backup cancelled')
class QubesMemoryError(QubesException, MemoryError):
class QubesMemoryError(QubesVMError, MemoryError):
'''Cannot start domain, because not enough memory is available'''
def __init__(self, vm, msg=None):
super(QubesMemoryError, self).__init__(