summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-08-22 13:53:49 +0000
committerJeremy Katz <katzj@redhat.com>2006-08-22 13:53:49 +0000
commit2837ab0c94a3acafd049e1c6d9a0e65925d90d14 (patch)
tree4d79b095ded2f6adbb8568bd6a1b13e0595fc625 /isys/isys.py
parent908ad547df2e487f31f2d49555adb0ed9633a0f8 (diff)
downloadanaconda-2837ab0c94a3acafd049e1c6d9a0e65925d90d14.tar.gz
anaconda-2837ab0c94a3acafd049e1c6d9a0e65925d90d14.tar.xz
anaconda-2837ab0c94a3acafd049e1c6d9a0e65925d90d14.zip
2006-08-22 Jeremy Katz <katzj@redhat.com>
* isys/isys.py (getDasdState): Fix unformatted dasds again (#203260)
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 5dfce81dd..2a7a82a3c 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -369,6 +369,9 @@ def getDasdState(dev):
# 2.6 seems to return basic
if line.find(" basic") != -1:
return 1
+ # ... and newer 2.6 returns unformatted. consistency!
+ if line.find(" unformatted") != -1:
+ return 1
return 0