diff options
-rw-r--r-- | textw/partitioning_text.py | 13 |
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 |