diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-13 16:51:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-13 16:51:37 +0000 |
commit | abc0358d36c3bb157f16441552958a2b8423f75c (patch) | |
tree | cff1a34843f93ce757509fe856d84a076a548619 /textw | |
parent | 07578f1c8fd35d0ec7b954292d61295af5fcac02 (diff) | |
download | anaconda-abc0358d36c3bb157f16441552958a2b8423f75c.tar.gz anaconda-abc0358d36c3bb157f16441552958a2b8423f75c.tar.xz anaconda-abc0358d36c3bb157f16441552958a2b8423f75c.zip |
format new raid devices by default (48823)
make it so we can change the fstype when editing a preexisting partition
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partition_text.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py index 615a168f0..59114c963 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -670,15 +670,15 @@ class PartitionWindow: else: # can't ever get here raise RuntimeError, "Selected a way of partitioning by cylinder that's not supported" - err = sanityCheckPartitionRequest(self.partitions, request) if err: self.intf.messageWindow(_("Error With Request"), "%s" % (err)) continue else: - # pre-existing partition, just set mount point and format flag request = copy.copy(origrequest) + + request.fstype = newfstype if request.fstype.isMountable(): request.mountpoint = self.mount.value() @@ -745,7 +745,7 @@ class PartitionWindow: else: format = None - if raidrequest.format == 1: + if raidrequest.format == 1 or raidrequest.format == None: format.setValue("*") drivegrid.setField(miscgrid, 1, 0, anchorTop=1) @@ -782,7 +782,7 @@ class PartitionWindow: request.format = format.selected() else: request.format = 0 - + err = sanityCheckRaidRequest(self.partitions, request) if err: self.intf.messageWindow(_("Error With Request"), |