summaryrefslogtreecommitdiff
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
parentBug #295351 - Make update_dbentries() return unicode if it's given unicode, (diff)
downloadportage-multirepo-2.2_rc55.tar.gz
portage-multirepo-2.2_rc55.tar.bz2
portage-multirepo-2.2_rc55.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 038ae6fc..a4617318 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: