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-22 11:35:23 +0000 |
| commit | ad1d65ca32236dd575b11bddd36e3c891f8c5a76 (patch) | |
| tree | 8aa0d0675a5f72b999c34af43fd72eb69330b0a7 | |
| parent | 9b6b47c09d8ed6b014f6ea0b0ec285245283d8ab (diff) | |
| download | poky-ad1d65ca32236dd575b11bddd36e3c891f8c5a76.tar.gz | |
bitbake: lib/bb/tests/codeparser: update expand syntax in comment
bb.data.expand(x, d) is deprecated API
(Bitbake rev: 71185c19205a77d0511fc00baf95a5433e7106d6)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/lib/bb/tests/codeparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/codeparser.py b/bitbake/lib/bb/tests/codeparser.py index a681841df3..a45a582dd9 100644 --- a/bitbake/lib/bb/tests/codeparser.py +++ b/bitbake/lib/bb/tests/codeparser.py | |||
| @@ -285,8 +285,8 @@ def a(): | |||
| 285 | 285 | ||
| 286 | test(d) | 286 | test(d) |
| 287 | 287 | ||
| 288 | bb.data.expand(d.getVar("something", False), d) | 288 | d.expand(d.getVar("something", False)) |
| 289 | bb.data.expand("${inexpand} somethingelse", d) | 289 | d.expand("${inexpand} somethingelse") |
| 290 | d.getVar(a(), False) | 290 | d.getVar(a(), False) |
| 291 | """ | 291 | """ |
| 292 | 292 | ||
