depgraph: pull in new virtual slots with --update
authorZac Medico <zmedico@gentoo.org>
Fri, 9 Sep 2011 19:58:27 +0000 (12:58 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 9 Sep 2011 19:58:27 +0000 (12:58 -0700)
commit21330075f07248765016e104b3ba8216903f1ecb
treefacea319866cf1cf42c7b55160818b6adf4bbd72
parent58eb89592bfc3ac40ac0235ebcc52910b51a826c
depgraph: pull in new virtual slots with --update

Previously, the virtual cost minimization code from bug #141118 would
prevent virtual dependencies from pulling in new slots. That behavior
was not desired for --update, so now it's fixed to pull in the latest
slot available. This allows virtual/jdk-1.7.0 to be pulled in by
dependencies when --update is enabled.
pym/_emerge/depgraph.py