mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
meta/lib/oe/sbom30.py: correct typo
The isinstance expected 2 arguments (From OE-Core rev: 038dcdca760404a44e0bcef389b4b60903f14a1f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Reviewed-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f964b31c68
commit
3390dfe683
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user