diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-04-07 00:57:35 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-04-07 00:57:35 +0000 |
commit | 1785c1129564064b26b07ecbf26047d86a962d80 (patch) | |
tree | 00785519418b9af66253aa63aaafaf3dceeb1e52 /pym/portage | |
parent | 665a7b56a269866dc7ecf5854aec3357194891c1 (diff) | |
download | portage-1785c1129564064b26b07ecbf26047d86a962d80.tar.gz portage-1785c1129564064b26b07ecbf26047d86a962d80.tar.bz2 portage-1785c1129564064b26b07ecbf26047d86a962d80.zip |
Fix code in the portdbapi constructor to cache eclass_cache.cache instances
where appropriate.
svn path=/main/trunk/; revision=13293
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/dbapi/porttree.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |