diff options
author | Mike Fulbright <msf@redhat.com> | 2001-01-19 23:01:10 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-01-19 23:01:10 +0000 |
commit | 2faf67b7edc2929f5a2e1eb9f74f2284f5606361 (patch) | |
tree | ef0f69a145fef921bc01b423801fa0a7de5c953e /todo.py | |
parent | 6c90d3890604dfa8d3abf44513e8dcabe60433cc (diff) | |
download | anaconda-2faf67b7edc2929f5a2e1eb9f74f2284f5606361.tar.gz anaconda-2faf67b7edc2929f5a2e1eb9f74f2284f5606361.tar.xz anaconda-2faf67b7edc2929f5a2e1eb9f74f2284f5606361.zip |
fix for bug 17285
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -472,15 +472,16 @@ class ToDo: pass elif iutil.getArch() == "i386" or iutil.getArch() == "ia64": # Look for the first IDE floppy device - drives = isys.floppyDriveDict().keys() + drives = isys.floppyDriveDict() if not drives: log("no IDE floppy devices found") return 0 - # We don't need to be picky about sort order as we toss - # items that aren't hd* anyway - drives.sort() - floppyDrive = drives[0] + flopyyDrive = drives.keys()[0] + # need to go through and find if there is an LS-120 + for dev in drives.keys(): + if re.compile(".*[Ll][Ss]-120.*").search(drives[dev]): + floppyDrive = dev # No IDE floppy's -- we're fine w/ /dev/fd0 if not floppyDrive: return |