summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-23 23:34:22 +0000
committerMatt Wilson <msw@redhat.com>1999-08-23 23:34:22 +0000
commita6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1 (patch)
tree7cf6fed965d635a3f792eb5c1b829b6deab27fc3
parent3de2ba0b65eab40e835f83defa3ba0f0097851ad (diff)
downloadanaconda-a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1.tar.gz
anaconda-a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1.tar.xz
anaconda-a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1.zip
fixed to detect properly
-rwxr-xr-xpcmcia.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcmcia.py b/pcmcia.py
index fe3e0b6a2..16aa20433 100755
--- a/pcmcia.py
+++ b/pcmcia.py
@@ -10,9 +10,9 @@ def pcmciaPcicType(test = 0):
result = iutil.execWithCapture(loc, [ loc ])
- if (not string.find("result", "TCIC-2 probe: not found")):
+ if (string.find(result, "TCIC-2 probe: not found") != -1):
return None
- elif (not string.find("result", "TCIC-2")):
+ elif (string.find(result, "TCIC-2") != -1):
return "tcic"
return "i82365"