summaryrefslogtreecommitdiffstats
path: root/image.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 /image.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 'image.py')
-rw-r--r--image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.py b/image.py
index 6bc421e40..889c2fe26 100644
--- a/image.py
+++ b/image.py
@@ -250,7 +250,7 @@ def presentRequiredMediaMessage(anaconda):
# Find an attached CD/DVD drive with media in it that contains packages,
# and return that device name.
def scanForMedia(tree, storage):
- for dev in storage.devicetree.devices.values():
+ for dev in storage.devicetree.devices:
if dev.type != "cdrom":
continue