From: Zac Medico Date: Mon, 22 Jun 2009 21:40:34 +0000 (-0000) Subject: Fix config._lazy_vars._accept_license() to exclude irrelevant licenses. X-Git-Tag: v2.2_rc34~167 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=078ea4131bf890142cd9da68c9af64982e33a795;p=portage.git Fix config._lazy_vars._accept_license() to exclude irrelevant licenses. svn path=/main/trunk/; revision=13671 --- 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