summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-05 05:24:34 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-05 05:24:34 +0000
commit9fedb5102c0c1ddc248a8c7f082382d59ebc9f4b (patch)
tree18e3174a27bf63ab742693448afb4a1e1f3d3273
parentccd76785a011416de3b5362b6d65910e4761e617 (diff)
downloadportage-9fedb5102c0c1ddc248a8c7f082382d59ebc9f4b.tar.gz
portage-9fedb5102c0c1ddc248a8c7f082382d59ebc9f4b.tar.bz2
portage-9fedb5102c0c1ddc248a8c7f082382d59ebc9f4b.zip
Freeze all pordbapi instances.
svn path=/main/trunk/; revision=3789
-rwxr-xr-xbin/emerge4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 9716c0cb2..98cf74494 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -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 """