From 21d67b2577df0657a40e94e8aeb4f4cfc7e2b0ab Mon Sep 17 00:00:00 2001 From: Dmitry Fedorov Date: Tue, 16 Feb 2021 17:58:06 +0300 Subject: [PATCH] winusb: fix domain name for is_paused() message --- qubes/vm/qubesvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 39b0bcec2..0f2d16843 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1456,7 +1456,7 @@ async def run_service(self, service, source=None, user=None, stubdom=False, if self.is_paused(): # XXX what about autostart? raise qubes.exc.QubesVMNotRunningError( - self, 'Domain {!r} is paused'.format(name)) + self, 'Domain {!r} is paused'.format(self.name)) if not self.is_running(): if not autostart: raise qubes.exc.QubesVMNotRunningError(self)