isStable: fix * logic for repoman
authorZac Medico <zmedico@gentoo.org>
Sun, 20 Jan 2013 01:28:08 +0000 (17:28 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 20 Jan 2013 01:29:55 +0000 (17:29 -0800)
pym/portage/package/ebuild/_config/KeywordsManager.py

index 50494ad64aba95882263d9565dc3de9ac6437fb2..af606f1ebc90f013da7d0ca2a38771f4fc11de0f 100644 (file)
@@ -127,8 +127,12 @@ class KeywordsManager(object):
                        # profile, then consider it stable.
                        for kw in pgroups:
                                if kw[:1] != "~":
-                                       if kw in mygroups or kw == '*' or '*' in mygroups:
+                                       if kw in mygroups or '*' in mygroups:
                                                return True
+                                       if kw == '*':
+                                               for x in mygroups:
+                                                       if x[:1] != "~":
+                                                               return True
                        return False
 
        def getMissingKeywords(self,