From: Zac Medico Date: Wed, 18 Feb 2009 02:16:34 +0000 (-0000) Subject: Call depgraph._dep_check_composite_db._clear_cache() inside X-Git-Tag: v2.2_rc24~181 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3afa9e45e13901867de27f5a00a5207abcee1d6a;p=portage.git 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 --- 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