From 4a1a5fc24b74b7c781d092bc1b674d228eb21283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 19 Jun 2017 17:24:11 +0200 Subject: [PATCH] exc: fix QubesNoTemplateError --- qubes/exc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/exc.py b/qubes/exc.py index 157f24d2..5e708c98 100644 --- a/qubes/exc.py +++ b/qubes/exc.py @@ -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))