diff options
-rw-r--r-- | meta/lib/oe/license.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index b1105f6149..79800c2b8f 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py | |||
@@ -135,10 +135,10 @@ def is_included(licensestr, include_licenses=None, exclude_licenses=None): | |||
135 | return beta | 135 | return beta |
136 | 136 | ||
137 | if not include_licenses: | 137 | if not include_licenses: |
138 | include = ['*'] | 138 | include_licenses = ['*'] |
139 | 139 | ||
140 | if not exclude_licenses: | 140 | if not exclude_licenses: |
141 | exclude = [] | 141 | exclude_licenses = [] |
142 | 142 | ||
143 | licenses = flattened_licenses(licensestr, choose_licenses) | 143 | licenses = flattened_licenses(licensestr, choose_licenses) |
144 | excluded = [lic for lic in licenses if exclude_license(lic)] | 144 | excluded = [lic for lic in licenses if exclude_license(lic)] |