diff options
author | Chris Lumens <clumens@redhat.com> | 2009-03-05 13:49:13 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-05 13:49:13 -0500 |
commit | 912eed846c221cda7787a259d9ea398122f7e826 (patch) | |
tree | 3f1654a1b5594e89ba193ffb95b91963f710210b /anaconda | |
parent | 1fed7809dc4704c78a54b0f33673a1107e374b51 (diff) | |
download | anaconda-912eed846c221cda7787a259d9ea398122f7e826.tar.gz anaconda-912eed846c221cda7787a259d9ea398122f7e826.tar.xz anaconda-912eed846c221cda7787a259d9ea398122f7e826.zip |
Remove all uses of isys.cdromList, which no longer exists.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1016,10 +1016,12 @@ if __name__ == "__main__": handleException(anaconda, sys.exc_info()) if anaconda.isKickstart and anaconda.id.ksdata.reboot.eject: - isys.flushDriveDict() - for drive in isys.cdromList(): - log.info("attempting to eject %s" % drive) - isys.ejectCdrom(drive) + for drive in anaconda.id.storage.devicetree.devices.values(): + if drive.type != "cdrom": + continue + + log.info("attempting to eject %s" % drive.path) + isys.ejectCdrom(drive.path) del anaconda.intf |