summaryrefslogtreecommitdiffstats
path: root/bin/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-30 20:52:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-30 21:22:21 +0100
commit85cf22fd0ed26bb7dc7738ef2a10441891f38ae2 (patch)
tree191613ef1b51ce572ae59e32d4555ac0ec35c096 /bin/bitbake
parent69ef6c8a9db02bfa0e3fac72481ec26586a29a01 (diff)
downloadbitbake-contrib-85cf22fd0ed26bb7dc7738ef2a10441891f38ae2.tar.gz
bitbake-contrib-85cf22fd0ed26bb7dc7738ef2a10441891f38ae2.tar.bz2
bitbake-contrib-85cf22fd0ed26bb7dc7738ef2a10441891f38ae2.zip
build/utils: Allow python functions to execute with real exception handling
With the code as it stands today it not possible to execute a python function and get "normal" python exception handling behaviour. If a python function raises an exception, it forces a traceback to be printed and the exception becomes a FuncFailed exception. This adds in a parameter 'pythonexception' which allows standard python exceptions to be passed unchanged with no traceback. Ultimately we may want to change to this convention in various places but at least it means we can start to add sane functions now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake')
0 files changed, 0 insertions, 0 deletions