exc: fix QubesNoTemplateError
This commit is contained in:
parent
aadbe223c3
commit
4a1a5fc24b
@ -101,7 +101,7 @@ class QubesVMNotHaltedError(QubesVMError):
|
|||||||
class QubesNoTemplateError(QubesVMError):
|
class QubesNoTemplateError(QubesVMError):
|
||||||
'''Cannot start domain, because there is no template'''
|
'''Cannot start domain, because there is no template'''
|
||||||
def __init__(self, vm, msg=None):
|
def __init__(self, vm, msg=None):
|
||||||
super(QubesNoTemplateError, self).__init__(
|
super(QubesNoTemplateError, self).__init__(vm,
|
||||||
msg or 'Template for the domain {!r} not found'.format(vm.name))
|
msg or 'Template for the domain {!r} not found'.format(vm.name))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user