summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-03 04:48:53 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-03 04:48:53 +0000
commit8f43f06b8bcaf4c85d186186a665a490c07f8f12 (patch)
tree6b527d7f3ef950baf989a7c1c09f7d1448be1c6a
parentf78430bc5056c29f195c6464cf54a07da26db997 (diff)
downloadportage-8f43f06b8bcaf4c85d186186a665a490c07f8f12.tar.gz
portage-8f43f06b8bcaf4c85d186186a665a490c07f8f12.tar.bz2
portage-8f43f06b8bcaf4c85d186186a665a490c07f8f12.zip
Bug #280336, comment #2 - Clear the package selection cache when packagesv2.2_rc55
are added to the graph. This fixes incorrect choices that happen in some cases. svn path=/main/trunk/; revision=14922
-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 038ae6fca..a4617318f 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: