summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-02-09 15:39:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-10 14:13:24 +0000
commitc472b4ce5990080e258a409cec0cab4cdb1a37f8 (patch)
tree415bde9e134397f89595f0a9d4a0a7d23c412c87 /scripts/lib/recipetool/create_buildsys.py
parent398f27cc0bbaee53ea2a96e7ec7e95c95e0747f7 (diff)
downloadpoky-c472b4ce5990080e258a409cec0cab4cdb1a37f8.tar.gz
recipetool: don't dump stack traces if a toml parser can't be found
If we can't find tomllib or tomli then we can just tell the user politely that we can't parse the pyproject.toml file, there's no need to dump exception stack traces. Move the parser exception handler to catch the actual parse, as otherwise it will never be used. Whilst here, also add some debug statements to make it clear what of the handlers is being called. (From OE-Core rev: 1a3ba4c312844d80ae382912b319e60ad8b30737) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys.py')
0 files changed, 0 insertions, 0 deletions