summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 833324052..485f89e06 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1772,7 +1772,8 @@ class config:
for element in license_struct[1:]:
if isinstance(element, list):
if element:
- ret.append(self._getMissingLicenses(element))
+ ret.append(self._getMissingLicenses(
+ element, acceptable_licenses))
if not ret[-1]:
return []
else:
@@ -1787,7 +1788,8 @@ class config:
for element in license_struct:
if isinstance(element, list):
if element:
- ret.extend(self._getMissingLicenses(element))
+ ret.extend(self._getMissingLicenses(element,
+ acceptable_licenses))
else:
if element not in acceptable_licenses:
ret.append(element)