aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2021-09-07 09:02:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-08 15:32:45 +0100
commitec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3 (patch)
tree39aff18e5ad8139df8e2cc05dd2927e42d9870b8 /meta
parente56c4e0dca3ca6187271031d4f30c76a42879639 (diff)
downloadopenembedded-core-ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3.tar.gz
openembedded-core-ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3.tar.bz2
openembedded-core-ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3.zip
create-spdx: remove trailing comma
The trailing comma turns ref_id into an object instead of a string when added to the relationship table. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/create-spdx.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index 1e0b360558..0a2fad5640 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -270,7 +270,7 @@ def add_package_sources_from_debug(d, package_doc, spdx_package, package, packag
doc_ref.checksum.checksumValue = source_file.doc_sha1
package_doc.externalDocumentRefs.append(doc_ref)
- ref_id = "%s:%s" % (doc_ref.externalDocumentId, source_file.file.SPDXID),
+ ref_id = "%s:%s" % (doc_ref.externalDocumentId, source_file.file.SPDXID)
else:
bb.debug(1, "Debug source %s with SHA256 %s not found in any dependency" % (str(debugsrc_path), file_sha256))
break