summaryrefslogtreecommitdiffstats
path: root/storage/__init__.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-04-24 13:53:18 -0500
committerDavid Lehman <dlehman@redhat.com>2009-04-24 15:00:37 -0500
commit83ad0ffd5086571378812ed173f0ee483df28f48 (patch)
treeacea8dc5b83b850a6104b9fb63f8af774fda5ba1 /storage/__init__.py
parentab9145b62658775e980a08aa9d0249a40ffedd1e (diff)
downloadanaconda-83ad0ffd5086571378812ed173f0ee483df28f48.tar.gz
anaconda-83ad0ffd5086571378812ed173f0ee483df28f48.tar.xz
anaconda-83ad0ffd5086571378812ed173f0ee483df28f48.zip
Fix incorrect attribute name use for retrofit flag.
This fixes a traceback during upgrade mount.
Diffstat (limited to 'storage/__init__.py')
-rw-r--r--storage/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index ff18d3187..8ad919547 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
break
else:
rc = anaconda.intf.messageWindow(_("Encrypt device?"),
@@ -763,7 +763,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: