summaryrefslogtreecommitdiffstats
path: root/partIntfHelpers.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-07-15 12:08:11 -0500
committerDavid Lehman <dlehman@redhat.com>2009-07-21 17:36:12 -0500
commit7e24733383d80b31d062aaab492938f4325d1401 (patch)
tree02e9f3c6c7b16cd96db65ff160ad61fd1d618363 /partIntfHelpers.py
parent9979a991bc5cd4718b6449997f5cab69982b5f5f (diff)
downloadanaconda-7e24733383d80b31d062aaab492938f4325d1401.tar.gz
anaconda-7e24733383d80b31d062aaab492938f4325d1401.tar.xz
anaconda-7e24733383d80b31d062aaab492938f4325d1401.zip
Change DeviceTree.devices from a dict to a list.
Diffstat (limited to 'partIntfHelpers.py')
-rw-r--r--partIntfHelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py
index 6d91bad67..a68704fd9 100644
--- a/partIntfHelpers.py
+++ b/partIntfHelpers.py
@@ -272,7 +272,7 @@ def partitionPreExistFormatWarnings(intf, warnings):
def getPreExistFormatWarnings(storage):
"""Return a list of preexisting devices being formatted."""
devices = []
- for device in storage.devicetree.devices.values():
+ for device in storage.devicetree.devices:
if device.exists and not device.format.exists:
devices.append(device)