qubes/vm/net: fix name of argument for property-del event handler
Since enforcing keyword arguments for event handlers, it's important now.
This commit is contained in:
parent
32f6bc2cd9
commit
35d1167893
@ -332,7 +332,7 @@ class NetVMMixin(qubes.events.Emitter):
|
|||||||
|
|
||||||
|
|
||||||
@qubes.events.handler('property-del:netvm')
|
@qubes.events.handler('property-del:netvm')
|
||||||
def on_property_del_netvm(self, event, prop, oldvalue=None):
|
def on_property_del_netvm(self, event, name, oldvalue=None):
|
||||||
''' Sets the the NetVM to default NetVM '''
|
''' Sets the the NetVM to default NetVM '''
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
# we are changing to default netvm
|
# we are changing to default netvm
|
||||||
|
Loading…
Reference in New Issue
Block a user