From: Zac Medico Date: Wed, 11 Mar 2009 06:15:23 +0000 (-0000) Subject: Fix getmaskingstatus() so that it doesn't inappropriately return a X-Git-Tag: v2.1.6.8~124 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6193f8959a4ec6c32fc6ddad626431779a842e7d;p=portage.git Fix getmaskingstatus() so that it doesn't inappropriately return a 'missing keyword' mask is some cases when the user has ** in package.keywords. Thanks to Raúl Porcel for reporting. (trunk r12696) svn path=/main/branches/2.1.6/; revision=12953 --- 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