From c4a86fe742fe7058d7dca837d969377d8fc1f925 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 23 Feb 2009 17:31:40 +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.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=12696 --- 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 9f0982b0c..cf44ef92b 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7207,9 +7207,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