summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-24 22:11:41 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-24 22:11:41 +0000
commit255d48b618842ec36a6f78b17ddb294786c22105 (patch)
treec0944dcec046f889fa465b22ad7241be77244146 /pym
parent8d650ba2b38ca5b2eb4401dc1d26ba43e37488ec (diff)
downloadportage-255d48b618842ec36a6f78b17ddb294786c22105.tar.gz
portage-255d48b618842ec36a6f78b17ddb294786c22105.tar.bz2
portage-255d48b618842ec36a6f78b17ddb294786c22105.zip
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
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/porttree.py5
1 files 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