1 |
Author: zmedico |
2 |
Date: 2009-12-03 05:09:29 +0000 (Thu, 03 Dec 2009) |
3 |
New Revision: 14924 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.7/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. (trunk r14922) |
11 |
|
12 |
Modified: main/branches/2.1.7/pym/_emerge/depgraph.py |
13 |
=================================================================== |
14 |
--- main/branches/2.1.7/pym/_emerge/depgraph.py 2009-12-03 05:09:13 UTC (rev 14923) |
15 |
+++ main/branches/2.1.7/pym/_emerge/depgraph.py 2009-12-03 05:09:29 UTC (rev 14924) |
16 |
@@ -997,6 +997,7 @@ |
17 |
self._dynamic_config._slot_pkg_map[pkg.root][pkg.slot_atom] = pkg |
18 |
self._dynamic_config.mydbapi[pkg.root].cpv_inject(pkg) |
19 |
self._dynamic_config._filtered_trees[pkg.root]["porttree"].dbapi._clear_cache() |
20 |
+ self._dynamic_config._highest_pkg_cache.clear() |
21 |
self._check_masks(pkg) |
22 |
|
23 |
if not pkg.installed: |