From e4ca983efd7a0b971f1fd702aac3af1f0ff0c0bf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 29 May 2008 00:35:09 +0000 Subject: [PATCH] Filter out installed keyword masked packages when populating RootConfig.visible_pkgs since otherwise such packages can trigger undesireable results inside depgraph._iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10471 --- pym/_emerge/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index c1b487688..98b81fe5f 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5596,7 +5596,9 @@ class depgraph(object): def __setitem__(self, k, v): dict.__setitem__(self, k, v) root_config = self._depgraph.roots[v.root] - if visible(root_config.settings, v): + if visible(root_config.settings, v) and \ + not (v.installed and \ + v.root_config.settings.getMissingKeywords(v.cpv, v.metadata)): root_config.visible_pkgs.cpv_inject(v) class RepoDisplay(object): -- 2.26.2