From: Zac Medico Date: Tue, 20 Mar 2007 20:06:56 +0000 (-0000) Subject: Pass missing acceptable_licenses parameter into recursive _getMissingLicenses() calls. X-Git-Tag: v2.2_pre1~1558 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5c8e02783150fe5bbc203bf900b3f66e1f7f047;p=portage.git Pass missing acceptable_licenses parameter into recursive _getMissingLicenses() calls. svn path=/main/trunk/; revision=6255 --- 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)