diff options
author | Matt Wilson <msw@redhat.com> | 2003-01-14 01:18:05 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2003-01-14 01:18:05 +0000 |
commit | 2574b2f44887eca9337e8ca05c4376e17a2b61fe (patch) | |
tree | 2dc625b7eba88d6a0df20a483e8b522d22e7a4b5 /text.py | |
parent | 8534a8e48ed2e39f75248e9faa8c93b669c913e4 (diff) | |
download | anaconda-2574b2f44887eca9337e8ca05c4376e17a2b61fe.tar.gz anaconda-2574b2f44887eca9337e8ca05c4376e17a2b61fe.tar.xz anaconda-2574b2f44887eca9337e8ca05c4376e17a2b61fe.zip |
use kudzu for floppy probe
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -289,7 +289,12 @@ class InstallInterface: return 0 def exceptionWindow(self, title, text): - floppyDevices = len(isys.floppyDriveDict()) + try: + floppyDevices = len(kudzu.probe(kudzu.CLASS_FLOPPY, + kudzu.BUS_UNSPEC, + kudzu.PROBE_ALL)) + except: + floppyDevices = 0 if floppyDevices > 0 or DEBUG: ugh = "%s\n\n" % (exceptionText,) buttons=[TEXT_OK_BUTTON, _("Save"), _("Debug")] |