From 1618014e2895745a877a9f4761039390d6182ad9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 20 Mar 2007 20:00:10 +0000 Subject: Appropriately return from _getMissingLicenses() if one of the choices is satisfied. svn path=/main/trunk/; revision=6253 --- pym/portage/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') 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 [] -- cgit v1.2.3-1-g7c22