[master 5/20] libnm in spoke: Revert "Fix crash when new device appear in Welcome screen (#1245960)"
rvykydal
installerbot-noreply at redhat.com
Mon Aug 31 14:55:48 UTC 2015
From: Radek Vykydal <rvykydal at redhat.com>
This reverts commit e1b75fe2df607d4ee9bb5db0bd75ce16c52e7220.
This will be fixed in the patchet
---
pyanaconda/ui/gui/spokes/network.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 5cf6afe..a1f34af 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -459,12 +459,6 @@ def add_connection_to_list(self, uuid):
return True
def initialize(self):
- # There is a signal for newly added devices from NetworkManager but it
- # is registered after the initialize method.
- # So if someone adds a new device in the Welcome screen the ifcfg file won't
- # be created which causes anaconda to crash.
- log.debug("Dump missing interfaces in NetworkControlBox initialize method")
- network.dumpMissingDefaultIfcfgs()
for device in self.client.get_devices():
self.add_device_to_list(device)
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/3e102e6373931151c985ba104731d061d0d4f617
More information about the anaconda-patches
mailing list