[oe-commits] [bitbake] 05/11: lib/bb/tests/codeparser: update expand syntax in comment

git at git.openembedded.org git at git.openembedded.org
Tue Mar 21 21:11:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 71185c19205a77d0511fc00baf95a5433e7106d6
Author: Joshua Lock <joshua.g.lock at intel.com>
AuthorDate: Fri Mar 17 15:54:39 2017 +0000

    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 at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/tests/codeparser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/tests/codeparser.py b/lib/bb/tests/codeparser.py
index a681841..a45a582 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)
 """
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list