diff options
author | Chris Lumens <clumens@redhat.com> | 2006-09-11 19:50:52 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-09-11 19:50:52 +0000 |
commit | ee06f5b63e7dbeb74356212473ecec751da9dec6 (patch) | |
tree | 8872ab3a3c43eea61eb2721c05ffd59907006c15 /isys/isys.py | |
parent | 89b247c1fd2aa33bfcdf318e5f6201326f79e57b (diff) | |
download | anaconda-ee06f5b63e7dbeb74356212473ecec751da9dec6.tar.gz anaconda-ee06f5b63e7dbeb74356212473ecec751da9dec6.tar.xz anaconda-ee06f5b63e7dbeb74356212473ecec751da9dec6.zip |
Skip attached devices without media present (like CF readers, etc.) (#205465).
Diffstat (limited to 'isys/isys.py')
-rw-r--r-- | isys/isys.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py index 7133a6074..2e339719d 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -285,6 +285,11 @@ def driveDict(klassArg): try: devName = "/dev/%s" % (device,) makeDevInode(device, devName) + + if not mediaPresent (device): + new[device] = dev + continue + peddev = parted.PedDevice.get(devName) model = peddev.model |