LGTM, thanks Reviewed-by: Joshua Watt <jpewhac...@gmail.com>
On Fri, Oct 25, 2024 at 9:25 PM Hongxu Jia <hongxu....@windriver.com> wrote: > > The isinstance expected 2 arguments > > Signed-off-by: Hongxu Jia <hongxu....@windriver.com> > --- > meta/lib/oe/sbom30.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py > index 73a957a20c..f4cc1f49dd 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: > -- > 2.25.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206459): https://lists.openembedded.org/g/openembedded-core/message/206459 Mute This Topic: https://lists.openembedded.org/mt/109220136/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-