exc: fix QubesNoTemplateError

这个提交包含在:
Marek Marczykowski-Górecki 2017-06-19 17:24:11 +02:00
父节点 aadbe223c3
当前提交 4a1a5fc24b
找不到此签名对应的密钥
GPG 密钥 ID: 063938BA42CFA724

查看文件

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