summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-08-07 16:01:03 +0000
committerMike Fulbright <msf@redhat.com>2001-08-07 16:01:03 +0000
commitcbdbb146405c0856eece13f7453d33b7377a41d4 (patch)
tree63a7441c83f31c2343665b9a96b98385eecf4901 /textw
parentaa17c6c33af7e2695aba75928762a81898f5865d (diff)
downloadanaconda-cbdbb146405c0856eece13f7453d33b7377a41d4.tar.gz
anaconda-cbdbb146405c0856eece13f7453d33b7377a41d4.tar.xz
anaconda-cbdbb146405c0856eece13f7453d33b7377a41d4.zip
fix for bug 51040
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index f9194d14b..8fbc7490e 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -590,6 +590,13 @@ class PartitionWindow:
fsoptLbl = None
else:
+
+ # set some defaults
+ format = origrequest.format
+ migrate = origrequest.migrate
+ newfstype = origrequest.fstype
+ badblocks = origrequest.badblocks
+
subgrid = Grid(2, 4)
# filesystem type selection
srow = 0
@@ -626,12 +633,6 @@ class PartitionWindow:
poplevel.add(subgrid, 0, row, (0,1,0,0))
- # set some defaults
- format = origrequest.format
- migrate = origrequest.migrate
- newfstype = origrequest.fstype
- badblocks = origrequest.badblocks
-
row = row + 1
if origrequest.type == REQUEST_NEW:
popbb = ButtonBar(self.screen, (TEXT_OK_BUTTON, TEXT_CANCEL_BUTTON))