summaryrefslogtreecommitdiffstats
path: root/booty
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-26 17:29:47 -0400
committerChris Lumens <clumens@redhat.com>2009-03-27 17:00:52 -0400
commit8cc412deef87a70e803a892adc7707cd43793486 (patch)
treee58681ce974b2d77545de246ed04a582e4f1fc4b /booty
parentbdfbcf359af70da2038456b3a329ab7dcdc244bd (diff)
downloadanaconda-8cc412deef87a70e803a892adc7707cd43793486.tar.gz
anaconda-8cc412deef87a70e803a892adc7707cd43793486.tar.xz
anaconda-8cc412deef87a70e803a892adc7707cd43793486.zip
getDevice returns a string. Use that to look up the device object (#492465).
Diffstat (limited to 'booty')
-rw-r--r--booty/ppc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/booty/ppc.py b/booty/ppc.py
index 706f1989b..e87f69e84 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -35,7 +35,8 @@ class ppcBootloaderInfo(bootloaderInfo):
retval.append(device.path)
else:
if bl.getDevice():
- retval.append(bl.getDevice().path)
+ d = bl.getDevice()
+ retval.append(self.storage.devicetree.getDeviceByName(d).path)
return retval