[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 6/6] getDevice returns a string. Use that to look up the device object (#492465).



---
 booty/ppc.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/booty/ppc.py b/booty/ppc.py
index e49a865..4360bf4 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
 
-- 
1.6.1.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]