From: Zac Medico Date: Wed, 18 May 2011 04:37:08 +0000 (-0700) Subject: _pkg_visibility_check: if in graph then visible X-Git-Tag: v2.2.0_alpha34~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f65c2294df592a6a4e0f0fff0bedec49ed3491a;p=portage.git _pkg_visibility_check: if in graph then visible --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index e1557a1b5..4789a0ca2 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3324,6 +3324,15 @@ class depgraph(object): if pkg.visible: return True + if pkg in self._dynamic_config.digraph: + # Sometimes we need to temporarily disable + # dynamic_config._autounmask, but for overall + # consistency in dependency resolution, in any + # case we want to respect autounmask visibity + # for packages that have already been added to + # the dependency graph. + return True + if not self._dynamic_config._autounmask: return False