From 358f594427dfe3698e0410fe33edcb4e8b245b23 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 26 Aug 2010 18:53:20 -0700 Subject: [PATCH] Fix Package._visible() to mask installed packages with invalid metadata. --- pym/_emerge/Package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 2.26.2