From 82237d1bd1a1931b672bd42f1f10a3ccffb5acda Mon Sep 17 00:00:00 2001 From: Philip Date: Tue, 19 Aug 2014 15:46:36 +0200 Subject: [PATCH] grubcfg: group variables --- src/modules/grubcfg/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py index 7d3280122..734b94b75 100644 --- a/src/modules/grubcfg/main.py +++ b/src/modules/grubcfg/main.py @@ -26,12 +26,12 @@ def modify_grub_default(partitions, root_mount_point, distributor): default_dir = os.path.join(root_mount_point, "etc/default") default_grub = os.path.join(default_dir, "grub") plymouth_bin = os.path.join(root_mount_point, "usr/bin/plymouth") - use_splash = '' + use_splash = "" + swap_uuid = "" if os.path.exists(plymouth_bin): - use_splash = 'splash' + use_splash = "splash" - swap_uuid = "" for partition in partitions: if partition["fs"] == "linuxswap": swap_uuid = partition["uuid"]