* [gentoo-commits] portage r13293 - main/trunk/pym/portage/dbapi
@ 2009-04-07 0:57 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-04-07 0:57 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-04-07 00:57:35 +0000 (Tue, 07 Apr 2009)
New Revision: 13293
Modified:
main/trunk/pym/portage/dbapi/porttree.py
Log:
Fix code in the portdbapi constructor to cache eclass_cache.cache instances
where appropriate.
Modified: main/trunk/pym/portage/dbapi/porttree.py
===================================================================
--- main/trunk/pym/portage/dbapi/porttree.py 2009-04-06 23:25:22 UTC (rev 13292)
+++ main/trunk/pym/portage/dbapi/porttree.py 2009-04-07 00:57:35 UTC (rev 13293)
@@ -199,6 +199,7 @@
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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-07 0:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 0:57 [gentoo-commits] portage r13293 - main/trunk/pym/portage/dbapi Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox