From: Hongxu Jia Date: Wed, 30 Oct 2024 05:07:41 +0000 (-0700) Subject: meta/lib/oe/sbom30.py: correct typo X-Git-Tag: uninative-4.7~1037 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=038dcdca760404a44e0bcef389b4b60903f14a1f;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git meta/lib/oe/sbom30.py: correct typo The isinstance expected 2 arguments Signed-off-by: Hongxu Jia Reviewed-by: Joshua Watt Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py index 8db90f30fd6..e3a9428668e 100644 --- a/meta/lib/oe/sbom30.py +++ b/meta/lib/oe/sbom30.py @@ -631,7 +631,7 @@ class ObjectSet(oe.spdx30.SHACLObjectSet): sha256_hash = bb.utils.sha256_file(path) for f in self.by_sha256_hash.get(sha256_hash, []): - if not isinstance(oe.spdx30.software_File): + if not isinstance(f, oe.spdx30.software_File): continue if purposes: