spdx30_tasks: fix condition in create_spdx
PATCH 1/1 spdx30_tasks: fix condition in create_spdx
From: João Marcos Costa (Schneider Electric) <[email protected]>
Considering that *detail* is an actual variable, not a string, remove the quotes to make the 'in' statement coherent.
--- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/spdx30_tasks.py +1 -1
@@ -523,7 +523,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
Signature · 1 line
2.47.0
Quoted 7 lines · Joao Marcos Costa via lists.openembedded.org
From: João Marcos Costa (Schneider Electric) <[email protected]>
Considering that *detail* is an actual variable, not a string, remove the quotes to make the 'in' statement coherent.
LGTM thanks.
Quoted 29 lines
--- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/lib/oe/spdx30_tasks.py +1
-2@@ -523,7 +523,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 --2.47.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#234510): https://lists.openembedded.org/g/openembedded-core/message/234510
Mute This Topic: https://lists.openembedded.org/mt/118630503/3616693
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-