1 |
Author: zmedico |
2 |
Date: 2009-12-03 04:48:53 +0000 (Thu, 03 Dec 2009) |
3 |
New Revision: 14922 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/depgraph.py |
7 |
Log: |
8 |
Bug #280336, comment #2 - Clear the package selection cache when packages |
9 |
are added to the graph. This fixes incorrect choices that happen in some |
10 |
cases. |
11 |
|
12 |
|
13 |
Modified: main/trunk/pym/_emerge/depgraph.py |
14 |
=================================================================== |
15 |
--- main/trunk/pym/_emerge/depgraph.py 2009-12-02 06:55:49 UTC (rev 14921) |
16 |
+++ main/trunk/pym/_emerge/depgraph.py 2009-12-03 04:48:53 UTC (rev 14922) |
17 |
@@ -997,6 +997,7 @@ |
18 |
self._dynamic_config._slot_pkg_map[pkg.root][pkg.slot_atom] = pkg |
19 |
self._dynamic_config.mydbapi[pkg.root].cpv_inject(pkg) |
20 |
self._dynamic_config._filtered_trees[pkg.root]["porttree"].dbapi._clear_cache() |
21 |
+ self._dynamic_config._highest_pkg_cache.clear() |
22 |
self._check_masks(pkg) |
23 |
|
24 |
if not pkg.installed: |