From f5c8e02783150fe5bbc203bf900b3f66e1f7f047 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 20 Mar 2007 20:06:56 +0000 Subject: [PATCH] Pass missing acceptable_licenses parameter into recursive _getMissingLicenses() calls. svn path=/main/trunk/; revision=6255 --- pym/portage/__init__.py | 6 ++++-- 1 file 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) -- 2.26.2