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:
Marek Marczykowski-Górecki 2017-03-15 18:36:34 +01:00
parent 32f6bc2cd9
commit 35d1167893
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -332,7 +332,7 @@ class NetVMMixin(qubes.events.Emitter):
@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 '''
# pylint: disable=unused-argument
# we are changing to default netvm