diff options
author | Matt Wilson <msw@redhat.com> | 2000-12-12 21:35:44 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-12-12 21:35:44 +0000 |
commit | 2722e7eb67339247838883fb38f2461c4c4f7f0d (patch) | |
tree | 56ba7211533c960bb5dd81829a8fc014c2195017 /pcmcia.py | |
parent | d0fb24738ee9312521d5b4ec75ac1a79a5ab26b0 (diff) | |
download | anaconda-2722e7eb67339247838883fb38f2461c4c4f7f0d.tar.gz anaconda-2722e7eb67339247838883fb38f2461c4c4f7f0d.tar.xz anaconda-2722e7eb67339247838883fb38f2461c4c4f7f0d.zip |
fixes for alpha
Diffstat (limited to 'pcmcia.py')
-rwxr-xr-x | pcmcia.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,7 +7,10 @@ def pcicType(test = 0): if not os.access(loc, os.X_OK): loc = "/usr/sbin/probe" - result = iutil.execWithCapture(loc, [ loc ]) + try: + result = iutil.execWithCapture(loc, [ loc ]) + except RuntimeError: + return None if (string.find(result, "TCIC-2 probe: not found") != -1): return None |