From: Zac Medico Date: Tue, 20 Mar 2007 20:00:10 +0000 (-0000) Subject: Appropriately return from _getMissingLicenses() if one of the choices is satisfied. X-Git-Tag: v2.2_pre1~1559 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1618014e2895745a877a9f4761039390d6182ad9;p=portage.git Appropriately return from _getMissingLicenses() if one of the choices is satisfied. svn path=/main/trunk/; revision=6253 --- 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 []