[PATCH master] Network spoke: fix traceback (number of callback parameters) (#875393)
Radek Vykydal
rvykydal at redhat.com
Mon Nov 12 10:02:00 UTC 2012
---
pyanaconda/ui/gui/spokes/network.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index db1e5f0..002679c 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -617,8 +617,10 @@ class NetworkControlBox():
ipv4cfg = device.get_ip4_config()
ipv6cfg = device.get_ip6_config()
if not ipv4cfg and not ipv6cfg:
- GLib.timeout_add(300, self._refresh_device_cfg, (device,
- num_of_tries-1))
+ GLib.timeout_add(300,
+ self._refresh_device_cfg,
+ (device, num_of_tries-1),
+ state)
return False
dev_type = device.get_device_type()
--
1.7.4
More information about the anaconda-patches
mailing list