summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/sbom30.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py
index 0a7b4c05fb..ea70f6fb69 100644
--- a/meta/lib/oe/sbom30.py
+++ b/meta/lib/oe/sbom30.py
@@ -364,7 +364,7 @@ class ObjectSet(oe.spdx30.SHACLObjectSet):
364 if not spdxid: 364 if not spdxid:
365 bb.fatal(f"{key} is not a valid SPDX_IMPORTS key") 365 bb.fatal(f"{key} is not a valid SPDX_IMPORTS key")
366 366
367 for i in self.docs.import_: 367 for i in self.doc.import_:
368 if i.externalSpdxId == spdxid: 368 if i.externalSpdxId == spdxid:
369 # Already imported 369 # Already imported
370 return spdxid 370 return spdxid