Freeze all pordbapi instances.
authorZac Medico <zmedico@gentoo.org>
Wed, 5 Jul 2006 05:24:34 +0000 (05:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 5 Jul 2006 05:24:34 +0000 (05:24 -0000)
svn path=/main/trunk/; revision=3789

bin/emerge

index 9716c0cb2b65d92fbd7160fc56c401e8384398f4..98cf74494cc18b57b033a7135b3481371aa773a5 100755 (executable)
@@ -3623,7 +3623,9 @@ def emerge_main():
                del e
 
        #Freeze the portdbapi for enhanced performance:
-       portdb.freeze()
+       for myroot in trees:
+               trees[myroot]["porttree"].dbapi.freeze()
+               del myroot
 
        if "moo" in myfiles:
                print """