[master 1/1] Fix name of the keyword argument for luks_add_key

vpodzime installerbot-noreply at redhat.com
Thu Mar 19 11:11:59 UTC 2015


From: Vratislav Podzimek <vpodzime at redhat.com>

It should be 'npass' not 'new_passphrase'.
---
 blivet/formats/luks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/luks.py b/blivet/formats/luks.py
index a5abc4d..38ccb42 100644
--- a/blivet/formats/luks.py
+++ b/blivet/formats/luks.py
@@ -264,7 +264,7 @@ def addPassphrase(self, passphrase):
         blockdev.crypto_luks_add_key(self.device,
                                      pass_=self.__passphrase,
                                      key_file=self._key_file,
-                                     new_passphrase=passphrase)
+                                     npass=passphrase)
 
     def removePassphrase(self):
         """


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/e7bead372d0e65662c79cc8c6118393099d4a034


More information about the anaconda-patches mailing list