exc: fix QubesNoTemplateError

This commit is contained in:
Marek Marczykowski-Górecki 2017-06-19 17:24:11 +02:00
parent aadbe223c3
commit 4a1a5fc24b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -101,7 +101,7 @@ class QubesVMNotHaltedError(QubesVMError):
class QubesNoTemplateError(QubesVMError):
'''Cannot start domain, because there is no template'''
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))