From 6ba6a512534f84c9f1943c97f2e6fbf9b8de44aa Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Sun, 10 Jul 2016 19:44:42 -0400 Subject: classes-utils: Whitespace fixes Four spaces for python code. Signed-off-by: Brad Bishop --- meta-phosphor/classes/obmc-phosphor-utils.bbclass | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'meta-phosphor/classes/obmc-phosphor-utils.bbclass') diff --git a/meta-phosphor/classes/obmc-phosphor-utils.bbclass b/meta-phosphor/classes/obmc-phosphor-utils.bbclass index 4f556294b..44ca7ad62 100644 --- a/meta-phosphor/classes/obmc-phosphor-utils.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-utils.bbclass @@ -2,13 +2,16 @@ inherit utils + def df_enabled(feature, value, d): - return base_contains("DISTRO_FEATURES", feature, value, "", d) + return base_contains("DISTRO_FEATURES", feature, value, "", d) + def mf_enabled(feature, value, d): - return base_contains("MACHINE_FEATURES", feature, value, "", d) + return base_contains("MACHINE_FEATURES", feature, value, "", d) + def cf_enabled(feature, value, d): - return value if df_enabled(feature, value, d) \ - and mf_enabled(feature, value, d) \ - else "" + return value if df_enabled(feature, value, d) \ + and mf_enabled(feature, value, d) \ + else "" -- cgit v1.2.3