summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>2026-04-02 11:34:44 +0200
committerPaul Barker <paul@pbarker.dev>2026-05-04 13:57:30 +0100
commit1f07faf3dce25bfcaf2c5c8f6652934baeed4db3 (patch)
tree3f13d96b4ac76967122dcad27f22c7a3ca1c2c96
parent0b73ea395b10f1cea7ef1744bdc3ad6d1c6927c4 (diff)
downloadpoky-1f07faf3dce25bfcaf2c5c8f6652934baeed4db3.tar.gz
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>
-rw-r--r--meta/lib/oe/spdx30_tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
index 9c422d1757..b43d626df3 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -535,7 +535,7 @@ def create_spdx(d):
535 # specified. 535 # specified.
536 if ( 536 if (
537 include_vex != "all" 537 include_vex != "all"
538 and "detail" in ("fixed-version", "cpe-stable-backport") 538 and detail in ("fixed-version", "cpe-stable-backport")
539 ): 539 ):
540 bb.debug(1, "Skipping %s since it is already fixed upstream" % cve_id) 540 bb.debug(1, "Skipping %s since it is already fixed upstream" % cve_id)
541 continue 541 continue