[rhinstaller/anaconda/pulls/274 master] Fix crash when devices and connections are changing (#1245960)
jkonecny12
installerbot-noreply at redhat.com
Tue Aug 4 13:31:14 UTC 2015
> @@ -438,27 +443,36 @@ def add_connection_to_list(self, uuid):
> if self.dev_cfg(uuid=uuid):
> log.debug("network: GUI, not adding connection %s, already in list", uuid)
> return False
> +
> dev_cfg = DeviceConfiguration(con_uuid=uuid)
> +
> if dev_cfg.setting_value("connection", "read-only"):
> log.debug("network: GUI, not adding read-only connection %s", uuid)
> return False
> if dev_cfg.device_type not in self.supported_device_types:
> log.debug("network: GUI, not adding connection %s of unsupported type", uuid)
> return False
> - # Configs for ethernet has been already added,
> - # this must be some slave
> - if dev_cfg.device_type == NetworkManager.DeviceType.ETHERNET:
> + # skip slaves - only slaves has master
ahh thank you. I'll change this locally
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/274#discussion_r36187120
More information about the anaconda-patches
mailing list