From f50684e83a2a3ef71556e276d03534a5d9bbb500 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 31 May 2007 05:43:41 +0000 Subject: Make automatic "global updates" always use the config instance that's associated with /, since the rest of the code is targeted at /. svn path=/main/trunk/; revision=6687 --- pym/emerge/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/emerge') diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 5189c6e2d..c653104a9 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -4338,7 +4338,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): if os.path.exists(myportdir+"/metadata/cache") and updatecache_flg: action_metadata(settings, portdb, myopts) - if portage.global_updates(settings, trees, mtimedb["updates"]): + if portage._global_updates(trees, mtimedb["updates"]): mtimedb.commit() # Reload the whole config from scratch. settings, trees, mtimedb = load_emerge_config(trees=trees) @@ -5384,7 +5384,7 @@ def emerge_main(): portage.writemsg("!!! %s\n" % str(e)) del e - if portage.global_updates(settings, trees, mtimedb["updates"]): + if portage._global_updates(trees, mtimedb["updates"]): mtimedb.commit() # Reload the whole config from scratch. settings, trees, mtimedb = load_emerge_config(trees=trees) -- cgit v1.2.3-1-g7c22