diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-04-11 19:59:08 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-04-11 19:59:08 +0000 |
commit | 7908fd64c4fcc42155205792d501e113b5def560 (patch) | |
tree | fade785d11220daa92d3bfab2c511aeb12cc3be7 | |
parent | 1e68875612c2a00e2c66b186e09485617b57131f (diff) | |
download | portage-7908fd64c4fcc42155205792d501e113b5def560.tar.gz portage-7908fd64c4fcc42155205792d501e113b5def560.tar.bz2 portage-7908fd64c4fcc42155205792d501e113b5def560.zip |
Fix LazyDatabasesDict so that databases only need to be created once.
svn path=/main/trunk/; revision=3131
-rw-r--r-- | pym/portage.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index 9e5ebc4a8..e986b4c92 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6829,6 +6829,7 @@ class LazyDatabasesDict(dict): # The binarytree likely needs to be populated now, so we # do it now to make sure that all method calls are safe. myvalue.populate() + self[item_key] = myvalue return myvalue return dict.__getitem__(self, item_key) |