Skip to contentSkip to conversation

lib/bb/tests/codeparser: update expand syntax in comment

PATCH New Joshua Lock 1 participant 1 message Mar 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/bb/tests/codeparser: update expand syntax in comment

bb.data.expand(x, d) is deprecated API

---
 lib/bb/tests/codeparser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bb/tests/codeparser.py +2 -2
index a681841..a45a582 100644
@@ -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)
 """
 
Signature · 1 line
2.9.3