From 76a4d6c85349011562ea2ee244d4b734979af8ce Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Jan 2010 18:46:36 +0000 Subject: [PATCH] Skip global updates for help, version, and info actions. (trunk r15179) svn path=/main/branches/2.1.7/; revision=15241 --- pym/_emerge/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 3b1475b53..d592377f9 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -1027,7 +1027,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) -- 2.26.2