summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-03 05:09:29 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-03 05:09:29 +0000
commitb1a5f9530ecffdd0390f7b58384192576aa24e4b (patch)
treeeef358a044aa4481c4937ec73dca82c753763007
parent74ae1f292d652dcbe2762d444e9180c31d681233 (diff)
downloadportage-b1a5f9530ecffdd0390f7b58384192576aa24e4b.tar.gz
portage-b1a5f9530ecffdd0390f7b58384192576aa24e4b.tar.bz2
portage-b1a5f9530ecffdd0390f7b58384192576aa24e4b.zip
Bug #280336, comment #2 - Clear the package selection cache when packagesv2.1.7.10
are added to the graph. This fixes incorrect choices that happen in some cases. (trunk r14922) svn path=/main/branches/2.1.7/; revision=14924
-rw-r--r--pym/_emerge/depgraph.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 8097637f8..4e9d3364a 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -997,6 +997,7 @@ class depgraph(object):
self._dynamic_config._slot_pkg_map[pkg.root][pkg.slot_atom] = pkg
self._dynamic_config.mydbapi[pkg.root].cpv_inject(pkg)
self._dynamic_config._filtered_trees[pkg.root]["porttree"].dbapi._clear_cache()
+ self._dynamic_config._highest_pkg_cache.clear()
self._check_masks(pkg)
if not pkg.installed: