From 0365f60dad7b072d6497820f4fd8544d5af14691 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Jul 2006 04:34:50 +0000 Subject: [PATCH] Recycle the portdbapi instance at the and of global_updates(). svn path=/main/trunk/; revision=3725 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- 2.26.2