From: Zac Medico Date: Mon, 23 Feb 2009 17:31:40 +0000 (-0000) Subject: Fix getmaskingstatus() so that it doesn't inappropriately return a X-Git-Tag: v2.2_rc24~117 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4a86fe742fe7058d7dca837d969377d8fc1f925;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. svn path=/main/trunk/; revision=12696 --- 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