summaryrefslogtreecommitdiffstats
path: root/lib/bb/tests/codeparser.py
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-04-30 13:10:34 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-06 10:21:37 +0100
commitc5e45063cb3ae17bbe3304ea5e712bd76e686c4a (patch)
treeeaa893b4fa77df10d73e2dc5a40406bd7d7c0bca /lib/bb/tests/codeparser.py
parent71bfd5beb0d0ed88c7c14bbfd5ca1a1b56122bc1 (diff)
downloadbitbake-c5e45063cb3ae17bbe3304ea5e712bd76e686c4a.tar.gz
bb.{cooker, data}: only emit a var as python if 'func' is set
This avoids a common issue where PACKAGECONFIG is emitted as a function in bitbake -e when the 'python' flag exists. It isn't a python function unless both 'func' and 'python' are set. This aligns with the behavior of emit_func_python. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tests/codeparser.py')
0 files changed, 0 insertions, 0 deletions