From 35d11678935b49ede7e2a5e8268583bcc0723b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 15 Mar 2017 18:36:34 +0100 Subject: [PATCH] qubes/vm/net: fix name of argument for property-del event handler Since enforcing keyword arguments for event handlers, it's important now. --- qubes/vm/mix/net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/mix/net.py b/qubes/vm/mix/net.py index dde78302..8597e30f 100644 --- a/qubes/vm/mix/net.py +++ b/qubes/vm/mix/net.py @@ -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