summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-01 04:34:50 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-01 04:34:50 +0000
commit0365f60dad7b072d6497820f4fd8544d5af14691 (patch)
tree636aa7a10d4f1a418e690c1edd975a8a9682f557
parentfa40312f363c621f0305b5c9f952c00327861a85 (diff)
downloadportage-0365f60dad7b072d6497820f4fd8544d5af14691.tar.gz
portage-0365f60dad7b072d6497820f4fd8544d5af14691.tar.bz2
portage-0365f60dad7b072d6497820f4fd8544d5af14691.zip
Recycle the portdbapi instance at the and of global_updates().
svn path=/main/trunk/; revision=3725
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 2e7ff8656..13c89ddf5 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -7060,7 +7060,8 @@ def global_updates(mysettings, trees, prev_mtimes):
print
#make sure our internal databases are consistent; recreate our virts and vartree
- do_vartree(mysettings, trees=trees)
+ do_vartree(
+ mysettings, portdb=trees["/"]["porttree"].dbapi, trees=trees)
if do_upgrade_packagesmessage and \
listdir(os.path.join(mysettings["PKGDIR"], "All"), EmptyOnError=1):
writemsg_stdout(" ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the")