From af9cfb26ada1dbc46d3db7e07996c1ed03768904 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 5 Sep 2010 23:51:05 -0700 Subject: [PATCH] Fix FakeVartree._pkg() to cache package instances in self._pkg_cache, for use by depgraph. --- pym/_emerge/FakeVartree.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.26.2