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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux