summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2008-08-29 10:27:32 -0500
committerDavid Lehman <dlehman@redhat.com>2008-08-29 10:29:06 -0500
commitcbac8a8436de21c1d265fd7129dd7a3574a09c56 (patch)
treed0ea8441a8cd17395696e242803a0848c2654ab2 /fsset.py
parente57884969e4bed420bc6226c6f3e97d1e50cd37c (diff)
downloadanaconda-cbac8a8436de21c1d265fd7129dd7a3574a09c56.tar.gz
anaconda-cbac8a8436de21c1d265fd7129dd7a3574a09c56.tar.xz
anaconda-cbac8a8436de21c1d265fd7129dd7a3574a09c56.zip
Fix a traceback with unencrypted autopart.
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index cdd4d3b2d..7c3445e09 100644
--- a/fsset.py
+++ b/fsset.py
@@ -2248,7 +2248,7 @@ class Device:
self.isSetup = 0
self.doLabel = 1
self.deviceOptions = ""
- if encryption and encryption.getScheme():
+ if encryption and encryption.passphrase:
self.crypto = encryption
if device not in ("none", None):
self.crypto.setDevice(device)