diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 5 |
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 |