]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/spdx30_tasks: improve error message
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Fri, 19 Jul 2024 17:52:37 +0000 (20:52 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Jul 2024 10:05:11 +0000 (11:05 +0100)
commit45f64e69a63b544d560e2e5eb05a6e1f058c4da1
tree3164adbbc20168d924b1cae442d51db0872a4004
parent0ec5dcbdd7c922df25ce90b04902d9c7c749a8c0
lib/spdx30_tasks: improve error message

Improve 'unknown status' error message by including the CVE id and by
quoting status field. Otherwise it might be troublesome to understand
messages like 'do_create_spdx: Unknown CVE status ' (the status was
empty).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/spdx30_tasks.py