summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 660e114e0..833324052 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1773,6 +1773,8 @@ class config:
if isinstance(element, list):
if element:
ret.append(self._getMissingLicenses(element))
+ if not ret[-1]:
+ return []
else:
if element in acceptable_licenses:
return []