From 7908fd64c4fcc42155205792d501e113b5def560 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 11 Apr 2006 19:59:08 +0000 Subject: [PATCH] Fix LazyDatabasesDict so that databases only need to be created once. svn path=/main/trunk/; revision=3131 --- pym/portage.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2