projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbcf893
)
Fix code in the portdbapi constructor to cache eclass_cache.cache instances
author
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 06:58:53 +0000
(06:58 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 06:58:53 +0000
(06:58 -0000)
where appropriate. (trunk r13293)
svn path=/main/branches/2.1.6/; revision=13464
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: