summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-26 18:53:20 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-26 18:53:20 -0700
commit358f594427dfe3698e0410fe33edcb4e8b245b23 (patch)
tree9aa1cf8339302136ba51f680228cbdde73d04611
parent6afa0581caff5786f445b1a38247e4e63e006c1a (diff)
downloadportage-358f594427dfe3698e0410fe33edcb4e8b245b23.tar.gz
portage-358f594427dfe3698e0410fe33edcb4e8b245b23.tar.bz2
portage-358f594427dfe3698e0410fe33edcb4e8b245b23.zip
Fix Package._visible() to mask installed packages with invalid metadata.
-rw-r--r--pym/_emerge/Package.py4
1 files changed, 3 insertions, 1 deletions
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 \