From: Zac Medico Date: Fri, 8 Jan 2010 20:15:45 +0000 (-0000) Subject: Skip global updates for help, version, and info actions. X-Git-Tag: v2.2_rc62~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ebc57440ce34b48b8ffe9216327d8a62b5e0ab7;p=portage.git Skip global updates for help, version, and info actions. svn path=/main/trunk/; revision=15179 --- 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)