]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/spdx-common: Return empty list from extract_licenses
authorJoshua Watt <JPEWhacker@gmail.com>
Mon, 10 Jun 2024 21:41:50 +0000 (15:41 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Jun 2024 15:15:40 +0000 (16:15 +0100)
commite200aa9cc6ceb8ca58ef239a1a5565287b38ce55
treecb5e7eb1891a67a5ed2c308ec5a1215a646d8845
parent35c061a4514905b3ebbb7f0633a584927519445c
classes/spdx-common: Return empty list from extract_licenses

This is nicer as the normal return type is a list, so the calling code
doesn't have to deal with a None sometimes and a list others.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/spdx-common.bbclass