ext/qubesmanager: fix events signature
There is event itself passed just after VM object.
This commit is contained in:
parent
12f778b539
commit
a0fa8fcc8e
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user