From 8cc412deef87a70e803a892adc7707cd43793486 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 26 Mar 2009 17:29:47 -0400 Subject: getDevice returns a string. Use that to look up the device object (#492465). --- booty/ppc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'booty') 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 -- cgit