summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-22 21:40:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-22 21:40:34 +0000
commit078ea4131bf890142cd9da68c9af64982e33a795 (patch)
tree424b1152dc188f93f2c10f8107e0fcad6e68bcd4
parent87703620fea7af34d221db781e557dfff35599a1 (diff)
downloadportage-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__.py2
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