From: Zac Medico Date: Thu, 29 May 2008 00:35:09 +0000 (-0000) Subject: Filter out installed keyword masked packages when populating X-Git-Tag: v2.2_pre8~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4ca983efd7a0b971f1fd702aac3af1f0ff0c0bf;p=portage.git 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 --- 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):