From 67987fa29bc3175811d2ddf65b2bb01cb1b2b859 Mon Sep 17 00:00:00 2001 From: Philip Date: Mon, 19 Jun 2017 18:50:24 +0200 Subject: [PATCH] [openrcdmcryptcfg] Fixed pep8 whining in module - see also https://github.com/calamares/calamares/pull/750 --- src/modules/openrcdmcryptcfg/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: """