summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2008-08-14 10:11:31 -0500
committerDavid Lehman <dlehman@redhat.com>2008-08-14 16:10:37 -0500
commit0f9611d9e37e11183ad8fef330d0c12c15b95d2f (patch)
treec8b56ae8b58a7e7d290e00f997edf755cecd6589
parent536fc1564ae4506c1ba684d0380fc0f665d4731d (diff)
downloadanaconda-0f9611d9e37e11183ad8fef330d0c12c15b95d2f.tar.gz
anaconda-0f9611d9e37e11183ad8fef330d0c12c15b95d2f.tar.xz
anaconda-0f9611d9e37e11183ad8fef330d0c12c15b95d2f.zip
Fix traceback in passphrase handling code for encrypted RAID requests. (#459121)
-rw-r--r--iw/raid_dialog_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 63c9f2ee8..35fcc4f28 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -203,7 +203,7 @@ class RaidEditor:
request.encryption = LUKSDevice(passphrase=passphrase,
format=1)
elif passphrase and request.encryption.format:
- request.setPassphrase(passphrase)
+ request.encryption.setPassphrase(passphrase)
else:
request.encryption = None
else:
@@ -245,7 +245,7 @@ class RaidEditor:
request.encryption = LUKSDevice(passphrase=passphrase,
format=1)
elif passphrase and request.encryption.format:
- request.setPassphrase(passphrase)
+ request.encryption.setPassphrase(passphrase)
else:
request.encryption = None