diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-09-23 17:31:45 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-09-24 16:09:22 -1000 |
commit | 92d658eaebb801c7467716f183d32b0dae6c9499 (patch) | |
tree | 558af7d4e43d08ee1e7ed923b4cb5af724da7b6d /kickstart.py | |
parent | af8c639754dcc81f34652b29bcf5e3a90b1d6863 (diff) | |
download | anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.tar.gz anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.tar.xz anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.zip |
Get rid of firstnetdevice in Network
At least for now, I see no need for firstnetdevice in the same way
before we started using NetworkManager. Might have to come back
for specific cases, but I don't think it's necessary.
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/kickstart.py b/kickstart.py index 538a75c1d..dd7e8fac2 100644 --- a/kickstart.py +++ b/kickstart.py @@ -392,15 +392,11 @@ class Network(commands.network.F8_Network): if nd.bootProto: devices = self.handler.id.network.netdevices - firstdev = self.handler.id.network.getFirstDeviceName() if (devices and nd.bootProto): if not nd.device: - if devices.has_key(firstdev): - device = firstdev - else: - list = devices.keys () - list.sort() - device = list[0] + list = devices.keys () + list.sort() + device = list[0] else: device = nd.device |