From: Zac Medico Date: Fri, 27 Aug 2010 01:53:20 +0000 (-0700) Subject: Fix Package._visible() to mask installed packages with invalid metadata. X-Git-Tag: v2.2_rc70~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=358f594427dfe3698e0410fe33edcb4e8b245b23;p=portage.git Fix Package._visible() to mask installed packages with invalid metadata. --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index b6f2d585a..03f15b1c1 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -178,8 +178,10 @@ class Package(Task): if 'EAPI.unsupported' in masks: return False + if 'invalid' in masks: + return False + if not self.installed and ( \ - 'invalid' in masks or \ 'CHOST' in masks or \ 'EAPI.deprecated' in masks or \ 'KEYWORDS' in masks or \