diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-03 05:09:29 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-03 05:09:29 +0000 |
commit | b1a5f9530ecffdd0390f7b58384192576aa24e4b (patch) | |
tree | eef358a044aa4481c4937ec73dca82c753763007 /pym/_emerge/depgraph.py | |
parent | 74ae1f292d652dcbe2762d444e9180c31d681233 (diff) | |
download | portage-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
Diffstat (limited to 'pym/_emerge/depgraph.py')
-rw-r--r-- | pym/_emerge/depgraph.py | 1 |
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: |