summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-20 20:06:56 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-20 20:06:56 +0000
commitf5c8e02783150fe5bbc203bf900b3f66e1f7f047 (patch)
tree34fec2c62c4a8772976352c7f8e4f333729a2b83
parent1618014e2895745a877a9f4761039390d6182ad9 (diff)
downloadportage-f5c8e02783150fe5bbc203bf900b3f66e1f7f047.tar.gz
portage-f5c8e02783150fe5bbc203bf900b3f66e1f7f047.tar.bz2
portage-f5c8e02783150fe5bbc203bf900b3f66e1f7f047.zip
Pass missing acceptable_licenses parameter into recursive _getMissingLicenses() calls.
svn path=/main/trunk/; revision=6255
-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)