summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 ea70f6fb69..7d01715ce2 100644
--- a/meta/lib/oe/sbom30.py
+++ b/meta/lib/oe/sbom30.py
@@ -393,7 +393,7 @@ class ObjectSet(oe.spdx30.SHACLObjectSet):
393 if ref_varname: 393 if ref_varname:
394 if ref_varname == varname: 394 if ref_varname == varname:
395 bb.fatal(f"{varname} cannot reference itself") 395 bb.fatal(f"{varname} cannot reference itself")
396 return new_agent(varname, creation_info=creation_info) 396 return self.new_agent(ref_varname, creation_info=creation_info)
397 397
398 import_key = self.d.getVar(f"{varname}_import") 398 import_key = self.d.getVar(f"{varname}_import")
399 if import_key: 399 if import_key: