summaryrefslogtreecommitdiffstats
path: root/meta/classes/create-spdx.bbclass
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-04-14 13:06:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:01 +0100
commit99dee60b8db557f54783bf0f61098587badc683c (patch)
treeeb12b4a601ed5e9e8190525a5078a2e8c247dc25 /meta/classes/create-spdx.bbclass
parente43558d5357aadf08521e7fb6170ad0bfd69f3f3 (diff)
downloadopenembedded-core-contrib-99dee60b8db557f54783bf0f61098587badc683c.tar.gz
recipetool: Do not use mutable default arguments in Python
Remove mutable default arguments in Python because they can lead to all sorts of nasty and horrible bugs. https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/ Revert `recipetool: Change default paramter fallback_licenses of function split_pkg_licenses from None to []` and instead check fallback_licenses before use. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/create-spdx.bbclass')
0 files changed, 0 insertions, 0 deletions