summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-08-03 13:59:48 -0400
committerChris Lumens <clumens@redhat.com>2009-08-04 10:41:16 -0400
commit7957c749d80d45b1e3375ffe1b4e172d37241a10 (patch)
tree79d7198fce70f26230fa02c0ddf63b58dfb41d50 /isys
parent4b954d1232992b33b7491a89689737842fe926c2 (diff)
downloadanaconda-7957c749d80d45b1e3375ffe1b4e172d37241a10.tar.gz
anaconda-7957c749d80d45b1e3375ffe1b4e172d37241a10.tar.xz
anaconda-7957c749d80d45b1e3375ffe1b4e172d37241a10.zip
The names of a couple basic udev methods has changed.
Diffstat (limited to 'isys')
-rwxr-xr-xisys/isys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/isys.py b/isys/isys.py
index f1003b59b..13ba807d8 100755
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -581,7 +581,7 @@ def getMacAddress(dev):
# Get a description string for a network device (e.g., eth0)
def getNetDevDesc(dev):
- from storage.udev import udev_get_block_device
+ from baseudev import udev_get_device
desc = "Network Interface"
if dev == '' or dev is None:
@@ -599,7 +599,7 @@ def getNetDevDesc(dev):
if dev == device_props['Interface']:
# This is the sysfs path (for now).
udev_path = device_props['Udi']
- dev = udev_get_block_device(udev_path, requireName=False)
+ dev = udev_get_device(udev_path)
if dev is None:
log.debug("weird, we have a None dev with path %s" % path)