mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 10:36:51 +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:
parent
0b73ea395b
commit
1f07faf3dc
@ -535,7 +535,7 @@ def create_spdx(d):
|
||||
# specified.
|
||||
if (
|
||||
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)
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user