From: Zac Medico Date: Fri, 29 Jan 2010 18:46:36 +0000 (-0000) Subject: Skip global updates for help, version, and info actions. (trunk r15179) X-Git-Tag: v2.1.7.17~31 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=76a4d6c85349011562ea2ee244d4b734979af8ce;p=portage.git Skip global updates for help, version, and info actions. (trunk r15179) svn path=/main/branches/2.1.7/; revision=15241 --- 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)