[PATCH master, f18-branch] Network spoke: fix NMClient signal callback arguments (#885488)

Radek Vykydal rvykydal at redhat.com
Mon Dec 10 12:25:05 UTC 2012


---
 pyanaconda/ui/gui/spokes/network.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index e8783ce..31145e2 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -408,10 +408,10 @@ class NetworkControlBox():
             self.client.add_and_activate_connection(None, device, ap_obj_path,
                                                     None, None)
 
-    def on_device_added(self, device, *args):
+    def on_device_added(self, client, device, *args):
         self.add_device(device)
 
-    def on_device_removed(self, device, *args):
+    def on_device_removed(self, client, device, *args):
         self.remove_device(device)
 
     def on_edit_connection(self, *args):
-- 
1.7.11.7



More information about the anaconda-patches mailing list