summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-07-21 15:46:25 +0000
committerBill Nottingham <notting@redhat.com>2005-07-21 15:46:25 +0000
commit8688fe266e68ceb3f2e76aed2d957fd642b890ed (patch)
tree735fb06d17b71323ea09f40a76b2fc9a9ba23a63 /network.py
parente1686895675c23dd46af0cfedd4adf13f6ed10bc (diff)
downloadanaconda-8688fe266e68ceb3f2e76aed2d957fd642b890ed.tar.gz
anaconda-8688fe266e68ceb3f2e76aed2d957fd642b890ed.tar.xz
anaconda-8688fe266e68ceb3f2e76aed2d957fd642b890ed.zip
Use the right enum. Not that it makes much difference here.
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index 94752b9f3..6dd5cd0fd 100644
--- a/network.py
+++ b/network.py
@@ -225,7 +225,7 @@ class Network:
self.netdevices[self.firstnetdevice].set(("onboot", "yes"))
# assign description to each device based on kudzu information
- probedevs = kudzu.probe(kudzu.CLASS_NETWORK, kudzu.CLASS_UNSPEC, 0)
+ probedevs = kudzu.probe(kudzu.CLASS_NETWORK, kudzu.BUS_UNSPEC, 0)
for netdev in probedevs:
device = netdev.device
if device in self.netdevices.keys():