diff --git a/src/modules/openrcdmcryptcfg/main.py b/src/modules/openrcdmcryptcfg/main.py index 808166c0b..94dc2768e 100644 --- a/src/modules/openrcdmcryptcfg/main.py +++ b/src/modules/openrcdmcryptcfg/main.py @@ -36,9 +36,8 @@ def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path): return None with open(os.path.join(root_mount_point, - dmcrypt_conf_path), - 'a+' - ) as dmcrypt_file: + dmcrypt_conf_path + ), 'a+') as dmcrypt_file: dmcrypt_file.write("\ntarget=" + crypto_target) dmcrypt_file.write("\nsource=" + crypto_source) dmcrypt_file.write("\nkey=/crypto_keyfile.bin") @@ -50,7 +49,7 @@ def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path): def run(): """ - This module configures the OpenRC dmcrypt service for an encrypted + This module configures the OpenRC dmcrypt service for an encrypted /home partition. :return: """