summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-29 20:58:22 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-29 20:58:22 +0000
commit7b6557452a0e05ea75f509a7adf221040005328e (patch)
treece8fda13d0d64b1e8610aeadf48028d66e450ed5 /isys
parent15353d581f517bf80e3ee5bf48bd56d7b970be84 (diff)
downloadanaconda-7b6557452a0e05ea75f509a7adf221040005328e.tar.gz
anaconda-7b6557452a0e05ea75f509a7adf221040005328e.tar.xz
anaconda-7b6557452a0e05ea75f509a7adf221040005328e.zip
2004-09-29 Jeremy Katz <katzj@redhat.com>
* isys/isys.py (getDasdState): Unformatted dasd seem to show up as "basic" now instead of "ready" (#130123)
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 6fa0d6755..643a039f4 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -382,7 +382,8 @@ def getDasdState(dev):
for line in lines:
if not line.startswith(devs[dev]):
continue
- if line.find(" ready") != -1:
+ # 2.6 seems to return basic
+ if line.find(" basic") != -1:
return 1
return 0