summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-20 23:12:35 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-20 23:12:35 +0000
commit34ef080f2869852ac8d44c765410e5883d44fc84 (patch)
tree779b6220b5f41a8894917bf904af72519cc25ffe
parentba66da132b1932786d55262c3a96e57133347cae (diff)
downloadanaconda-34ef080f2869852ac8d44c765410e5883d44fc84.tar.gz
anaconda-34ef080f2869852ac8d44c765410e5883d44fc84.tar.xz
anaconda-34ef080f2869852ac8d44c765410e5883d44fc84.zip
set the default to format to for a preexisting if it's not one we can format
-rw-r--r--textw/partition_text.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index 110682526..81c8070c2 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -226,6 +226,8 @@ class PartitionWindow:
if request.fstype and request.fstype.getName() in names and \
request.fstype.isFormattable():
fstype.setCurrent(request.fstype)
+ else:
+ fstype.setCurrent(fileSystemTypeGetDefault())
subgrid.setField(fstype, 0, row)
if usecallback:
fstype.setCallback(self.fstypeSetCB, (fstype, self.mount))