From 3afa9e45e13901867de27f5a00a5207abcee1d6a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 18 Feb 2009 02:16:34 +0000 Subject: [PATCH] Call depgraph._dep_check_composite_db._clear_cache() inside depgraph._add_pkg() since _dep_check_composite_db._visible() is now affected by which packages are added to the graph. svn path=/main/trunk/; revision=12624 --- pym/_emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 72be73e7c..f0faf9a4b 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5067,9 +5067,10 @@ class depgraph(object): # dependencies so that things like --fetchonly can still # function despite collisions. pass - else: + elif not previously_added: self._slot_pkg_map[pkg.root][pkg.slot_atom] = pkg self.mydbapi[pkg.root].cpv_inject(pkg) + self._filtered_trees[pkg.root]["porttree"].dbapi._clear_cache() if not pkg.installed: # Allow this package to satisfy old-style virtuals in case it -- 2.26.2