From: Zac Medico Date: Thu, 29 May 2008 00:39:46 +0000 (-0000) Subject: Filter out installed keyword masked packages when populating X-Git-Tag: v2.1.5.3~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c4ad848332eb92cf3f028f15bf4768912ae7786;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(). (trunk r10471) svn path=/main/branches/2.1.2/; revision=10473 --- diff --git a/bin/emerge b/bin/emerge index 90a905278..0ece52862 100755 --- a/bin/emerge +++ b/bin/emerge @@ -5674,7 +5674,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):