From 1785c1129564064b26b07ecbf26047d86a962d80 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 7 Apr 2009 00:57:35 +0000 Subject: Fix code in the portdbapi constructor to cache eclass_cache.cache instances where appropriate. svn path=/main/trunk/; revision=13293 --- pym/portage/dbapi/porttree.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 1a896b754..d025be29a 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -199,6 +199,7 @@ class portdbapi(dbapi): tree_db = eclass_dbs.get(porttree) if tree_db is None: tree_db = eclass_cache.cache(porttree) + eclass_dbs[porttree] = tree_db if eclass_db is None: eclass_db = tree_db.copy() else: -- cgit v1.2.3-1-g7c22