mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01: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:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user