From: Zac Medico Date: Sun, 1 May 2011 20:23:13 +0000 (-0700) Subject: depgraph: ignore unwanted virtuals X-Git-Tag: v2.2.0_alpha31~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b26576b2d4b3b5f99dde4d33003192be973401ce;p=portage.git depgraph: ignore unwanted virtuals This fixes an unwanted side-effect from commit 470871eeafa89a05486d4eb6f3f7626c1f813e4d. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index f55d84d49..f1c111fb1 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1477,8 +1477,9 @@ class depgraph(object): (virt_pkg.cpv, [str(x) for x in atoms]), noiselevel=-1, level=logging.DEBUG) - if not self._add_pkg(virt_pkg, virt_dep): - return 0 + if not dep_priority.ignored: + if not self._add_pkg(virt_pkg, virt_dep): + return 0 for atom, child in self._minimize_children( pkg, self._priority(runtime=True), root_config, atoms):