summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-06-16 01:11:31 +0000
committerErik Troan <ewt@redhat.com>2000-06-16 01:11:31 +0000
commit9ce17c52a41e6afe115a99b8b8f1ed3cc6ef7635 (patch)
tree7b51c6e36ff3435b0a49aa7725be31321e0b6332 /textw
parent8132a783cb97688ecabe79b5ba9cefe3c319dc82 (diff)
downloadanaconda-9ce17c52a41e6afe115a99b8b8f1ed3cc6ef7635.tar.gz
anaconda-9ce17c52a41e6afe115a99b8b8f1ed3cc6ef7635.tar.xz
anaconda-9ce17c52a41e6afe115a99b8b8f1ed3cc6ef7635.zip
use formattablePartitions()
Diffstat (limited to 'textw')
-rw-r--r--textw/partitioning_text.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/textw/partitioning_text.py b/textw/partitioning_text.py
index 0a706f083..30b3a4b7e 100644
--- a/textw/partitioning_text.py
+++ b/textw/partitioning_text.py
@@ -239,22 +239,15 @@ class FormatWindow:
"already been configured during a "
"previous install."))
- mounts = todo.fstab.mountList()
+ mounts = todo.fstab.formattablePartitions()
height = min (screen.height - 12, len (mounts))
ct = CheckboxTree(height = height)
gotOne = 0
for (mount, dev, fstype, format, size) in mounts:
-
- # dont format protected partitions
- for n in todo.fstab.getprotectedList():
- if n == dev:
- continue
-
- if fstype == "ext2":
- gotOne = 1
- ct.append("/dev/%s %s" % (dev, mount), dev, format)
+ gotOne = 1
+ ct.append("/dev/%s %s" % (dev, mount), dev, format)
if not gotOne: return INSTALL_NOOP