mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
spdx30_tasks: fix condition in create_spdx
Considering that *detail* is an actual variable, not a string, remove the quotes to make the 'in' statement coherent. (From OE-Core rev: 8071a93c6b619dc9fcc2a7f1bcf94994499defbe) Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com> Reviewed-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
committed by
Paul Barker
parent
0b73ea395b
commit
1f07faf3dc
@@ -535,7 +535,7 @@ def create_spdx(d):
|
|||||||
# specified.
|
# specified.
|
||||||
if (
|
if (
|
||||||
include_vex != "all"
|
include_vex != "all"
|
||||||
and "detail" in ("fixed-version", "cpe-stable-backport")
|
and detail in ("fixed-version", "cpe-stable-backport")
|
||||||
):
|
):
|
||||||
bb.debug(1, "Skipping %s since it is already fixed upstream" % cve_id)
|
bb.debug(1, "Skipping %s since it is already fixed upstream" % cve_id)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user