summaryrefslogtreecommitdiffstats
path: root/iw/partition_dialog_gui.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-08-27 20:50:21 -0500
committerDavid Lehman <dlehman@redhat.com>2009-08-28 10:29:43 -0500
commit41dfe25f46784bfcb89bc00910d1bb7a2cbd5648 (patch)
tree3a10e7c10086a6623cf16cc25a5aaf20758d36e8 /iw/partition_dialog_gui.py
parentdb7f2fe221c4bb557588838816f5525468bb483e (diff)
downloadanaconda-41dfe25f46784bfcb89bc00910d1bb7a2cbd5648.tar.gz
anaconda-41dfe25f46784bfcb89bc00910d1bb7a2cbd5648.tar.xz
anaconda-41dfe25f46784bfcb89bc00910d1bb7a2cbd5648.zip
Fix up handling of preexisting partitions.
Don't set exists or migrate flags in a widget callback -- they will be set when the user clicks "OK". Likewise, don't try to preserve exists or size attributes when user has chosen to reformat the device.
Diffstat (limited to 'iw/partition_dialog_gui.py')
-rw-r--r--iw/partition_dialog_gui.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index c4fab0657..e19b229e2 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -230,8 +230,6 @@ class PartitionEditor:
# carry over exists, migrate, size, and device
# necessary for partition editor UI
format = fmt_class(mountpoint=mountpoint,
- exists=origformat.exists,
- size=getattr(origformat, "size", None),
device=usedev.path)
luksdev = None