diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-03-20 20:00:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-03-20 20:00:10 +0000 |
commit | 1618014e2895745a877a9f4761039390d6182ad9 (patch) | |
tree | 2cca61d653ba318b83cb860978bd3c86db3041a4 | |
parent | ffbff569ac5769449d4f106b7b6beb37db03c0f6 (diff) | |
download | portage-1618014e2895745a877a9f4761039390d6182ad9.tar.gz portage-1618014e2895745a877a9f4761039390d6182ad9.tar.bz2 portage-1618014e2895745a877a9f4761039390d6182ad9.zip |
Appropriately return from _getMissingLicenses() if one of the choices is satisfied.
svn path=/main/trunk/; revision=6253
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 [] |