Patchwork [bitbake-devel,1/2] bb.codeparser.py: Remove reference for oe.utils.contains

login
register
mail settings
Submitter Otavio Salvador
Date April 25, 2014, 9:21 p.m.
Message ID <1398460884-26033-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/70991/
State New
Headers show

Comments

Otavio Salvador - April 25, 2014, 9:21 p.m.
The oe.utils.contains function has been removed from OE-Core metadata
as the references for it has been replaced to use the
bb.utils.contains.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 lib/bb/codeparser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py
index a50b9f2..b4b1013 100644
--- a/lib/bb/codeparser.py
+++ b/lib/bb/codeparser.py
@@ -103,7 +103,7 @@  class BufferedLogger(Logger):
 
 class PythonParser():
     getvars = ("d.getVar", "bb.data.getVar", "data.getVar", "d.appendVar", "d.prependVar")
-    containsfuncs = ("bb.utils.contains", "base_contains", "oe.utils.contains")
+    containsfuncs = ("bb.utils.contains", "base_contains")
     execfuncs = ("bb.build.exec_func", "bb.build.exec_task")
 
     def warn(self, func, arg):