From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-548472-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4CE30138583 for <garchives@archives.gentoo.org>; Sun, 20 Jan 2013 01:30:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B993721C04D; Sun, 20 Jan 2013 01:30:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 524D321C04D for <gentoo-commits@lists.gentoo.org>; Sun, 20 Jan 2013 01:30:50 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69A1533DABC for <gentoo-commits@lists.gentoo.org>; Sun, 20 Jan 2013 01:30:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D1799E4073 for <gentoo-commits@lists.gentoo.org>; Sun, 20 Jan 2013 01:30:47 +0000 (UTC) From: "Zac Medico" <zmedico@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org> Message-ID: <1358645395.6cb7a5b6a72cf0601dff513fefad52ff6fb83835.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/_config/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/package/ebuild/_config/KeywordsManager.py X-VCS-Directories: pym/portage/package/ebuild/_config/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 6cb7a5b6a72cf0601dff513fefad52ff6fb83835 X-VCS-Branch: master Date: Sun, 20 Jan 2013 01:30:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b022384b-48ac-4491-a933-8303b2bb7794 X-Archives-Hash: ccdfa5e4dc1964128e320ad1fcaf1280 commit: 6cb7a5b6a72cf0601dff513fefad52ff6fb83835 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Jan 20 01:28:08 2013 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Jan 20 01:29:55 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=6cb7a5b6 isStable: fix * logic for repoman --- .../package/ebuild/_config/KeywordsManager.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pym/portage/package/ebuild/_config/KeywordsManager.py b/pym/portage/package/ebuild/_config/KeywordsManager.py index 50494ad..af606f1 100644 --- a/pym/portage/package/ebuild/_config/KeywordsManager.py +++ b/pym/portage/package/ebuild/_config/KeywordsManager.py @@ -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,