[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Fix incorrect attribute name use for retrofit flag.
- From: David Lehman <dlehman redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Fix incorrect attribute name use for retrofit flag.
- Date: Fri, 24 Apr 2009 14:06:05 -0500
This fixes a traceback during upgrade mount.
---
storage/__init__.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/storage/__init__.py b/storage/__init__.py
index 6f063d4..9a1999e 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -130,7 +130,7 @@ def storageComplete(anaconda):
(passphrase, retrofit) = anaconda.intf.getLuksPassphrase(preexist=existing_luks)
if passphrase:
anaconda.id.storage.encryptionPassphrase = passphrase
- anaconda.id.storage.retrofitPassphrase = retrofit
+ anaconda.id.storage.encryptionRetrofit = retrofit
for dev in anaconda.id.storage.devices:
if dev.format.type == "luks" and not dev.format.exists:
dev.format.passphrase = passphrase
@@ -761,7 +761,7 @@ class Storage(object):
in the system so that users only have to enter one passphrase
during system boot.
"""
- if not self.retrofitPassphrase:
+ if not self.encryptionRetrofit:
return
for device in self.devices:
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]