projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e68875
)
Fix LazyDatabasesDict so that databases only need to be created once.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 11 Apr 2006 19:59:08 +0000
(19:59 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 11 Apr 2006 19:59:08 +0000
(19:59 -0000)
svn path=/main/trunk/; revision=3131
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 9e5ebc4a8cd4a3091ca6219f8c9abc0dd8c8c51c..e986b4c92f6165c0bb1851fa2a06f48a187eefca 100644
(file)
--- 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)