[PATCH openbmc] classes-utils: Whitespace fixes

OpenBMC Patches openbmc-patches at stwcx.xyz
Mon Jul 11 14:10:30 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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta-phosphor/classes/obmc-phosphor-utils.bbclass b/meta-phosphor/classes/obmc-phosphor-utils.bbclass
index 4f55629..f558e80 100644
--- a/meta-phosphor/classes/obmc-phosphor-utils.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-utils.bbclass
@@ -3,12 +3,12 @@
 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