diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-06-22 21:40:34 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-06-22 21:40:34 +0000 |
commit | 078ea4131bf890142cd9da68c9af64982e33a795 (patch) | |
tree | 424b1152dc188f93f2c10f8107e0fcad6e68bcd4 | |
parent | 87703620fea7af34d221db781e557dfff35599a1 (diff) | |
download | portage-078ea4131bf890142cd9da68c9af64982e33a795.tar.gz portage-078ea4131bf890142cd9da68c9af64982e33a795.tar.bz2 portage-078ea4131bf890142cd9da68c9af64982e33a795.zip |
Fix config._lazy_vars._accept_license() to exclude irrelevant licenses.
svn path=/main/trunk/; revision=13671
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 36e726d1e..62af949ad 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2097,7 +2097,7 @@ class config(object): acceptable_licenses.clear() elif x[:1] == '-': acceptable_licenses.discard(x[1:]) - else: + elif x in licenses: acceptable_licenses.add(x) licenses = acceptable_licenses |