diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-04-25 18:21:24 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-29 23:38:35 +0100 |
commit | d1e3345d715e488ec3f5515fb0e1fb39366346bc (patch) | |
tree | 5552fb02b71688085f92418227c6d15330d8a587 /lib/bb/codeparser.py | |
parent | 97537e4786a1e3a329249497498b59b8f5174fc3 (diff) | |
download | bitbake-contrib-d1e3345d715e488ec3f5515fb0e1fb39366346bc.tar.gz |
bb.utils, bb.codeparser: Add bb.utils.contains_any
This includes contains_any in the special handling code for sstate. It
does not take into account the equivalence of the values. In current
code, considering 'bb.utils.contains_any("A", "foo bar", ...)':
A = "foo"
A = "bar"
A = "foo bar"
All those will get different signatures.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/codeparser.py')
-rw-r--r-- | lib/bb/codeparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py index de8d2eb08..8439efbb2 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", "oe.utils.contains", "bb.utils.contains_any") execfuncs = ("bb.build.exec_func", "bb.build.exec_task") def warn(self, func, arg): |