From: Zac Medico Date: Mon, 6 Sep 2010 06:51:05 +0000 (-0700) Subject: Fix FakeVartree._pkg() to cache package instances in self._pkg_cache, X-Git-Tag: v2.2_rc76~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af9cfb26ada1dbc46d3db7e07996c1ed03768904;p=portage.git Fix FakeVartree._pkg() to cache package instances in self._pkg_cache, for use by depgraph. --- diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py index 5a962c57d..3d07af412 100644 --- a/pym/_emerge/FakeVartree.py +++ b/pym/_emerge/FakeVartree.py @@ -188,6 +188,7 @@ class FakeVartree(vartree): mycounter = 0 pkg.metadata["COUNTER"] = str(mycounter) + self._pkg_cache[pkg] = pkg return pkg def grab_global_updates(portdb):