summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-04-03 13:46:48 -0400
committerPeter Jones <pjones@pjones2.localdomain>2008-04-03 13:46:48 -0400
commit08166c136e27d958231977674f036ac960123fd1 (patch)
treefdb1152b29f93956829b3798cbf8c6e350c624a0 /iw
parent932531264a289ad22f7cff1c93e865a0348f81a7 (diff)
downloadanaconda-08166c136e27d958231977674f036ac960123fd1.tar.gz
anaconda-08166c136e27d958231977674f036ac960123fd1.tar.xz
anaconda-08166c136e27d958231977674f036ac960123fd1.zip
Make lukscb.get_data("encrypt") always return a valid value.
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_ui_helpers_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index bc5960469..466e88c54 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -358,6 +358,8 @@ def createPreExistFSOptionSection(origrequest, maintable, row, mountCombo,
if origrequest.encryption:
lukscb.set_active(1)
lukscb.set_data("encrypted", 1)
+ else:
+ lukscb.set_data("encrypted", 0)
lukscb.set_sensitive(formatcb.get_active())
lukscb.set_data("formatstate", formatcb.get_active())