Message ID | 20241030050745.3702603-3-hongxu.jia@windriver.com |
---|---|
State | New |
Headers | show |
Series | Support SPDX include source for work-share directory | expand |
diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py index 8db90f30fd..e3a9428668 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:
The isinstance expected 2 arguments Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/lib/oe/sbom30.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)