[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5254/8267] bitbake: lib/bb/tests/codeparser: update expand syntax in comment



commit ad1d65ca32236dd575b11bddd36e3c891f8c5a76
Author: Joshua Lock <joshua g lock intel com>
Date:   Fri Mar 17 15:54:39 2017 +0000

    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>

 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 a681841..a45a582 100644
--- a/bitbake/lib/bb/tests/codeparser.py
+++ b/bitbake/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)
 """
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]