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

[PATCH 1/3] Fix a traceback when looking for PS3 boot partitions (#490738).



---
 platform.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/platform.py b/platform.py
index a329094..6ce5c77 100644
--- a/platform.py
+++ b/platform.py
@@ -277,10 +277,10 @@ class NewWorldPPC(PPC):
     def bootDevice(self):
         bootDev = None
 
-        for device in self.anaconda.id.storage.devices.values():
+        for part in self.anaconda.id.storage.partitions:
             # XXX do we need to also check the size?
-            if device.format.type == "hfs" and device.bootable:
-                bootDev = device
+            if part.format.type == "hfs" and part.bootable:
+                bootDev = part
 
         return bootDev
 
-- 
1.6.1.3


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