poky/scripts/lib/recipetool
Ross Burton c472b4ce59 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>
2024-02-10 14:13:24 +00:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py recipetool: appendsrcfile(s): add a mode to update the recipe itself 2023-12-06 22:55:50 +00:00
create_buildsys_python.py recipetool: don't dump stack traces if a toml parser can't be found 2024-02-10 14:13:24 +00:00
create_buildsys.py recipetool: cleanup imports 2024-02-08 23:14:51 +00:00
create_go.py recipetool: Disregard version in URL for replaced modules 2024-01-19 12:21:22 +00:00
create_kernel.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_kmod.py Convert to new override syntax 2021-08-02 15:44:10 +01:00
create_npm.py recipetool: create: npm: Add support to handle peer dependencies 2023-06-29 11:10:39 +01:00
create.py recipetool: create: Only include the expected SRC_URI checksums 2023-12-08 16:58:34 +00:00
edit.py recipetool: Fix list concatenation when using edit 2020-06-15 14:53:45 +01:00
licenses.csv recipetool/devtool: Further SPDX identifier cleanups 2022-03-02 18:43:24 +00:00
newappend.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
setvar.py recipetool/devtool: Ensure server knows about changed files 2023-09-18 11:35:38 +01:00