Replace base_contains with bb.utils.contains
base_contains has been deprecated and is replaced by
bb.utils.contains
Change-Id: I8cf9b63b43febed1557e4644c97ccd6614152f98
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/meta-phosphor/classes/obmc-phosphor-utils.bbclass b/meta-phosphor/classes/obmc-phosphor-utils.bbclass
index 8ac8c7d..04db8bc 100644
--- a/meta-phosphor/classes/obmc-phosphor-utils.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-utils.bbclass
@@ -1,14 +1,11 @@
# Helper functions for checking feature variables.
-inherit utils
-
-
def df_enabled(d, feature, truevalue, falsevalue=""):
- return base_contains("DISTRO_FEATURES", feature, truevalue, falsevalue, d)
+ return bb.utils.contains("DISTRO_FEATURES", feature, truevalue, falsevalue, d)
def mf_enabled(d, feature, truevalue, falsevalue=""):
- return base_contains("MACHINE_FEATURES", feature, truevalue, falsevalue, d)
+ return bb.utils.contains("MACHINE_FEATURES", feature, truevalue, falsevalue, d)
def cf_enabled(d, feature, truevalue, falsevalue=""):