summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
Diffstat (limited to 'iw')
-rw-r--r--iw/autopart_type.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index b4d54df18..d745a1ee5 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -141,13 +141,7 @@ class PartitionTypeWindow(InstallWindow):
self.dispatch.skipStep("autopartitionexecute", skip = 0)
if self.xml.get_widget("encryptButton").get_active():
- preexist = self.partitions.hasPreexistingCryptoDev()
- (thepass, retrofit) = self.intf.getLuksPassphrase(self.partitions.encryptionPassphrase, preexist=preexist)
- if not thepass:
- raise gui.StayOnScreen
- self.partitions.encryptionPassphrase = thepass
self.partitions.autoEncrypt = True
- self.partitions.retrofitPassphrase = retrofit
else:
self.partitions.encryptionPassphrase = ""
self.partitions.retrofitPassphrase = False