public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "João Marcos Costa" <joaomarcos.costa@bootlin.com>
To: openembedded-core@lists.openembedded.org
Cc: thomas.petazzoni@bootlin.com, benjamin.robin@bootlin.com,
	steve@sakoman.com, mathieu.dubois-briand@bootlin.com,
	pascal.eberhard@se.com, yoann.congal@smile.fr,
	"João Marcos Costa (Schneider Electric)"
	<joaomarcos.costa@bootlin.com>
Subject: [scarthgap][PATCH] spdx30_tasks: fix condition in create_spdx
Date: Thu,  2 Apr 2026 11:34:44 +0200	[thread overview]
Message-ID: <20260402093444.675082-1-joaomarcos.costa@bootlin.com> (raw)

From: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>

Considering that *detail* is an actual variable, not a string, remove the
quotes to make the 'in' statement coherent.

Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
index a8970dcca0..e7bb930b59 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -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



             reply	other threads:[~2026-04-02  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02  9:34 João Marcos Costa [this message]
2026-04-02 13:48 ` [OE-core] [scarthgap][PATCH] spdx30_tasks: fix condition in create_spdx Joshua Watt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260402093444.675082-1-joaomarcos.costa@bootlin.com \
    --to=joaomarcos.costa@bootlin.com \
    --cc=benjamin.robin@bootlin.com \
    --cc=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pascal.eberhard@se.com \
    --cc=steve@sakoman.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yoann.congal@smile.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox