From 0b1577ace4ca832ad92dd319e6711074b0e419ed Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 4 Jun 2017 14:50:08 +0200 Subject: [PATCH] Fixed pep8-whining in module luksbootkeyfile Based on PR 736 (so add Alf to copyright as well) --- src/modules/luksbootkeyfile/main.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/modules/luksbootkeyfile/main.py b/src/modules/luksbootkeyfile/main.py index a598f3cf3..675a6cb6c 100644 --- a/src/modules/luksbootkeyfile/main.py +++ b/src/modules/luksbootkeyfile/main.py @@ -25,10 +25,10 @@ from libcalamares.utils import check_target_env_call def run(): """ - This module sets up a file crypto_keyfile.bin on the rootfs, assuming the rootfs - is LUKS encrypted and a passphrase is provided. This file is then included in the - initramfs and used for unlocking the rootfs from a previously unlocked GRUB2 - session. + This module sets up a file crypto_keyfile.bin on the rootfs, assuming the + rootfs is LUKS encrypted and a passphrase is provided. This file is then + included in the initramfs and used for unlocking the rootfs from a + previously unlocked GRUB2 session. :return: """ @@ -52,8 +52,10 @@ def run(): return None if not luks_root_passphrase: - return ("Encrypted rootfs setup error", - "Rootfs partition {!s} is LUKS but no passphrase found.".format(luks_root_device)) + return ( + "Encrypted rootfs setup error", + "Rootfs partition {!s} is LUKS but no passphrase found." + .format(luks_root_device)) # Generate random keyfile check_target_env_call(["dd",