projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
665a7b5
)
Fix code in the portdbapi constructor to cache eclass_cache.cache instances
author
Zac Medico
<zmedico@gentoo.org>
Tue, 7 Apr 2009 00:57:35 +0000
(
00:57
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 7 Apr 2009 00:57:35 +0000
(
00:57
-0000)
where appropriate.
svn path=/main/trunk/; revision=13293
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 1a896b754d5062687957017344de8c0508602b5c..d025be29af6ef307ac9b6bfae16e73111e4a22f7 100644
(file)
--- 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: