summaryrefslogtreecommitdiffstats
path: root/scripts/lib/argparse_oe.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-10 21:46:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-14 15:05:30 +0000
commitf8c7c22df834199cfae361965f34833fd365292f (patch)
tree2e3d1fecdcef5bd3e1030da6377363bc055f63ab /scripts/lib/argparse_oe.py
parentb217614969399c62bded1b84cd2e2b404c86c6a0 (diff)
downloadpoky-f8c7c22df834199cfae361965f34833fd365292f.tar.gz
bitbake: cookerdata: Improve early exception handling
Martin Jansa reported that if you put a syntax error into an imported module such as qa.py in OE, no error is shown. Part of the issue appears to be that the catch_parse_error() decorator only catches certain exceptions and SyntaxError isn't one of them. As far as I can tell we should remove all the special cases and use the more advanced code in all cases, not just expansion errors. I confirmed this now prints a proper error message for a qa.py syntax error. (Bitbake rev: e66012bfda60ffe1658473e25879aa67909ae65f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions