From c871fb2571936e9286d55344b042153e6d76b569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 7 Mar 2016 01:03:31 +0100 Subject: [PATCH] ext/qubesmanager: fix events signature There is event itself passed just after VM object. --- qubes/ext/qubesmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes/ext/qubesmanager.py b/qubes/ext/qubesmanager.py index 840990a2..dd87bd4a 100644 --- a/qubes/ext/qubesmanager.py +++ b/qubes/ext/qubesmanager.py @@ -41,7 +41,7 @@ def __init__(self, *args, **kwargs): # pylint: disable=no-self-use,unused-argument,too-few-public-methods @qubes.ext.handler('status:error') - def on_status_error(self, vm, status, message): + def on_status_error(self, vm, event, status, message): try: qubes_manager = self._system_bus.get_object( 'org.qubesos.QubesManager', @@ -53,7 +53,7 @@ def on_status_error(self, vm, status, message): pass @qubes.ext.handler('status:no-error') - def on_status_no_error(self, vm, status, message): + def on_status_no_error(self, vm, event, status, message): try: qubes_manager = self._system_bus.get_object( 'org.qubesos.QubesManager',