[PATCH openbmc v2] classes-utils: Whitespace fixes

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jul 12 02:20:40 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

Four spaces for python code.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 meta-phosphor/classes/obmc-phosphor-utils.bbclass | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/meta-phosphor/classes/obmc-phosphor-utils.bbclass b/meta-phosphor/classes/obmc-phosphor-utils.bbclass
index 4f55629..44ca7ad 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 ""
-- 
2.9.0




More information about the openbmc mailing list