summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-07-11 13:25:32 -0500
committerGitHub <noreply@github.com>2016-07-11 13:25:32 -0500
commit104682feb3d4909b43befb0c23cde880cec88719 (patch)
tree1e6113a3d5b001ae3b53bfe92347c44f0b589479 /meta-phosphor
parent8740ed0da0bf3e8b0c9af009c506776c9bf8eec7 (diff)
parent6ba6a512534f84c9f1943c97f2e6fbf9b8de44aa (diff)
downloadtalos-openbmc-104682feb3d4909b43befb0c23cde880cec88719.tar.gz
talos-openbmc-104682feb3d4909b43befb0c23cde880cec88719.zip
Merge pull request #460 from bradbishop/whitespace
classes-utils: Whitespace fixes
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/classes/obmc-phosphor-utils.bbclass13
1 files changed, 8 insertions, 5 deletions
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 ""
OpenPOWER on IntegriCloud