mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 20:18:02 +00:00
licenses: Fix logic error introduced in rename
The previous commit introduced a small logic error. Fix the renaming issue. (From OE-Core rev: b01e10b27d23ea1b4ac58376c2423505a70832d6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
18f40dfdfd
commit
2a06ab3eb8
@ -135,10 +135,10 @@ def is_included(licensestr, include_licenses=None, exclude_licenses=None):
|
||||
return beta
|
||||
|
||||
if not include_licenses:
|
||||
include = ['*']
|
||||
include_licenses = ['*']
|
||||
|
||||
if not exclude_licenses:
|
||||
exclude = []
|
||||
exclude_licenses = []
|
||||
|
||||
licenses = flattened_licenses(licensestr, choose_licenses)
|
||||
excluded = [lic for lic in licenses if exclude_license(lic)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user