From a0fa8fcc8e159beb05f14a1c038b3c8be00cf70c 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 b030583d..41b489cf 100644 --- a/qubes/ext/qubesmanager.py +++ b/qubes/ext/qubesmanager.py @@ -41,7 +41,7 @@ class QubesManager(qubes.ext.Extension): # 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 @@ class QubesManager(qubes.ext.Extension): 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',