From: Zac Medico Date: Sat, 1 Jul 2006 04:34:50 +0000 (-0000) Subject: Recycle the portdbapi instance at the and of global_updates(). X-Git-Tag: v2.1.1~319 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0365f60dad7b072d6497820f4fd8544d5af14691;p=portage.git Recycle the portdbapi instance at the and of global_updates(). svn path=/main/trunk/; revision=3725 --- 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")