diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-03-17 15:54:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-21 21:02:20 +0000 |
commit | 71185c19205a77d0511fc00baf95a5433e7106d6 (patch) | |
tree | 2f6e73bf300fb871d8d4f62eeb1f5ac0b1ff4290 /lib/bb/tests/codeparser.py | |
parent | eeeed7693710e4a78fec639b8050d8efe4ea3c33 (diff) | |
download | bitbake-71185c19205a77d0511fc00baf95a5433e7106d6.tar.gz |
lib/bb/tests/codeparser: update expand syntax in comment
bb.data.expand(x, d) is deprecated API
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests/codeparser.py')
-rw-r--r-- | lib/bb/tests/codeparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/tests/codeparser.py b/lib/bb/tests/codeparser.py index a681841d..a45a582d 100644 --- a/lib/bb/tests/codeparser.py +++ b/lib/bb/tests/codeparser.py @@ -285,8 +285,8 @@ def a(): test(d) -bb.data.expand(d.getVar("something", False), d) -bb.data.expand("${inexpand} somethingelse", d) +d.expand(d.getVar("something", False)) +d.expand("${inexpand} somethingelse") d.getVar(a(), False) """ |