summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-05-09 17:52:47 +0000
committerPeter Jones <pjones@redhat.com>2006-05-09 17:52:47 +0000
commitbe766723c1d3c9bfa6d7db19dedf5ea44585aacc (patch)
tree1b28db071fd203e43a1e204880c4a79072c170ac /isys/isys.py
parent3b66e16ee7686374e63e974477befce1425a2cdd (diff)
downloadanaconda-be766723c1d3c9bfa6d7db19dedf5ea44585aacc.tar.gz
anaconda-be766723c1d3c9bfa6d7db19dedf5ea44585aacc.tar.xz
anaconda-be766723c1d3c9bfa6d7db19dedf5ea44585aacc.zip
- actually don't warn about usb there, because that codepath isn't dependent
on actually having the device in use.
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 5016e2e5c..c52b70b34 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -755,7 +755,7 @@ def driveIsRemovable(device):
makeDevInode(device, "/tmp/disk")
rc = (_isys.isScsiRemovable("/tmp/disk") == 1)
- # need to test if its USB or IEEE1394 even if it doesnt look removable
+ # need to test if its IEEE1394 even if it doesnt look removable
if not rc:
if os.access("/tmp/scsidisks", os.R_OK):
sdlist=open("/tmp/scsidisks", "r")
@@ -769,9 +769,6 @@ def driveIsRemovable(device):
if sddev == device:
if sdmod in ['sbp2']:
rc = 1
- elif sdmod in ['usb-storage']:
- log.warning("using usb-storage, which has a very high failure rate")
- rc = 0
else:
rc = 0
break