bitbake: event/ast: Use better_exec instead of simple_exec
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Aug 2012 16:25:07 +0000 (16:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Aug 2012 12:59:57 +0000 (13:59 +0100)
commit23e3fbc5fca072c417c5d12280123df3688b9d81
tree5298bc7358c7e2fd7939bb8b8571d9a12cf88991
parent73c307be9a0f83c62830f3d6770e09d732ac05f1
bitbake: event/ast: Use better_exec instead of simple_exec

This improves the stacktraces dumped by bitbake when for example anonymous
python functions fail.

Also default to passing code strings to better_exec to match the behaviour of
simple_exec to aid the transition.

(Bitbake rev: 7e8205929ae953731a6854ea80b197847cff5771)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/event.py
bitbake/lib/bb/parse/ast.py
bitbake/lib/bb/utils.py