From 6193f8959a4ec6c32fc6ddad626431779a842e7d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 06:15:23 +0000 Subject: [PATCH] =?utf8?q?Fix=20getmaskingstatus()=20so=20that=20it=20does?= =?utf8?q?n't=20inappropriately=20return=20a=20'missing=20keyword'=20mask?= =?utf8?q?=20is=20some=20cases=20when=20the=20user=20has=20**=20in=20packa?= =?utf8?q?ge.keywords.=20Thanks=20to=20Ra=C3=BAl=20Porcel=20?= =?utf8?q?=20for=20reporting.=20(trunk=20r12696)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit svn path=/main/branches/2.1.6/; revision=12953 --- pym/portage/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8775b87aa..e6bd95259 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7194,9 +7194,13 @@ def getmaskingstatus(mycpv, settings=None, portdb=None): kmask = "missing" - for keyword in pgroups: - if keyword in mygroups: - kmask=None + if '**' in pgroups: + kmask = None + else: + for keyword in pgroups: + if keyword in mygroups: + kmask = None + break if kmask: fallback = None -- 2.26.2