diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2021-10-08 09:48:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:35 +0100 |
commit | ab06305bf9a8ee2250aae8043e37119df2fbfc15 (patch) | |
tree | d54233fdc566cc3b51c8cee29a0aea0fbe9212d8 /scripts/lib/recipetool | |
parent | a930d39787dd77e10dfa7b7297af5fa04ca731ea (diff) | |
download | openembedded-core-ab06305bf9a8ee2250aae8043e37119df2fbfc15.tar.gz |
recipetool: Change default paramter fallback_licenses of function split_pkg_licenses from None to []
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/create.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 83cf25d9b7..893980a5ce 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py @@ -1134,7 +1134,7 @@ def guess_license(srctree, d): return licenses -def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=None, pn='${PN}'): +def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=[], pn='${PN}'): """ Given a list of (license, path, md5sum) as returned by guess_license(), a dict of package name to path mappings, write out a set of |