diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-23 23:34:22 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-23 23:34:22 +0000 |
commit | a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1 (patch) | |
tree | 7cf6fed965d635a3f792eb5c1b829b6deab27fc3 | |
parent | 3de2ba0b65eab40e835f83defa3ba0f0097851ad (diff) | |
download | anaconda-a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1.tar.gz anaconda-a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1.tar.xz anaconda-a6d0f1c8fce8f0d8a8a3653782d4bf68132fa3e1.zip |
fixed to detect properly
-rwxr-xr-x | pcmcia.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |