summaryrefslogtreecommitdiffstats
path: root/pcmcia.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-12-12 21:35:44 +0000
committerMatt Wilson <msw@redhat.com>2000-12-12 21:35:44 +0000
commit2722e7eb67339247838883fb38f2461c4c4f7f0d (patch)
tree56ba7211533c960bb5dd81829a8fc014c2195017 /pcmcia.py
parentd0fb24738ee9312521d5b4ec75ac1a79a5ab26b0 (diff)
downloadanaconda-2722e7eb67339247838883fb38f2461c4c4f7f0d.tar.gz
anaconda-2722e7eb67339247838883fb38f2461c4c4f7f0d.tar.xz
anaconda-2722e7eb67339247838883fb38f2461c4c4f7f0d.zip
fixes for alpha
Diffstat (limited to 'pcmcia.py')
-rwxr-xr-xpcmcia.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pcmcia.py b/pcmcia.py
index 3805f95c5..61ccc587c 100755
--- a/pcmcia.py
+++ b/pcmcia.py
@@ -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