From 255d48b618842ec36a6f78b17ddb294786c22105 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 24 May 2007 22:11:41 +0000 Subject: Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that way and the * behavior was already annoying enough. svn path=/main/trunk/; revision=6617 --- pym/portage/dbapi/porttree.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 77aa39e7a..b1177a4a0 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -676,8 +676,9 @@ class portdbapi(dbapi): if gp == "*" or (gp == "-*" and len(mygroups) == 1): writemsg("--- WARNING: Package '%s' uses '%s' keyword.\n" % (mycpv, gp), noiselevel=-1) - match=1 - break + if gp == "*": + match = 1 + break elif gp in pgroups: match=1 break -- cgit v1.2.3-1-g7c22