aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2017-03-17 15:54:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-21 21:02:20 +0000
commit71185c19205a77d0511fc00baf95a5433e7106d6 (patch)
tree2f6e73bf300fb871d8d4f62eeb1f5ac0b1ff4290 /lib
parenteeeed7693710e4a78fec639b8050d8efe4ea3c33 (diff)
downloadbitbake-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')
-rw-r--r--lib/bb/tests/codeparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/tests/codeparser.py b/lib/bb/tests/codeparser.py
index a681841df..a45a582dd 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)
"""