From 6ebc57440ce34b48b8ffe9216327d8a62b5e0ab7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Jan 2010 20:15:45 +0000 Subject: Skip global updates for help, version, and info actions. svn path=/main/trunk/; revision=15179 --- pym/_emerge/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 98b8478a8..a2245892a 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -1169,7 +1169,8 @@ def emerge_main(): if rval != os.EX_OK: return rval - if portage._global_updates(trees, mtimedb["updates"]): + if myaction not in ('help', 'info', 'version') and \ + 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