Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that way and...
authorZac Medico <zmedico@gentoo.org>
Thu, 24 May 2007 22:11:41 +0000 (22:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 May 2007 22:11:41 +0000 (22:11 -0000)
svn path=/main/trunk/; revision=6617

pym/portage/dbapi/porttree.py

index 77aa39e7a47f7e7ea8bee310bc12228ca371572d..b1177a4a0a72f8b0bd5c759b9e0c9b1fc3a83003 100644 (file)
@@ -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