[openrcdmcryptcfg] Fixed pep8 whining in module
- fix small regression - see also https://github.com/calamares/calamares/pull/750
This commit is contained in:
parent
4c7dbad755
commit
61f63cfa5c
@ -27,7 +27,7 @@ def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path):
|
||||
crypto_source = ""
|
||||
|
||||
for partition in partitions:
|
||||
if partition["mountPoint"] == "/home"
|
||||
if partition["mountPoint"] == "/home" \
|
||||
and "luksMapperName" in partition:
|
||||
crypto_target = partition["luksMapperName"]
|
||||
crypto_source = "/dev/disk/by-uuid/{!s}".format(partition["uuid"])
|
||||
|
Loading…
Reference in New Issue
Block a user