diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-29 20:58:22 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-29 20:58:22 +0000 |
commit | 7b6557452a0e05ea75f509a7adf221040005328e (patch) | |
tree | ce8fda13d0d64b1e8610aeadf48028d66e450ed5 /isys | |
parent | 15353d581f517bf80e3ee5bf48bd56d7b970be84 (diff) | |
download | anaconda-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.py | 3 |
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 |