diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-01-08 20:15:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-01-08 20:15:45 +0000 |
commit | 6ebc57440ce34b48b8ffe9216327d8a62b5e0ab7 (patch) | |
tree | 75a20a3fc598941b34bb99e6da6db942c1549c70 | |
parent | fcacb7a8d0cf8e39497922de3aeebf7ab3088e22 (diff) | |
download | portage-6ebc57440ce34b48b8ffe9216327d8a62b5e0ab7.tar.gz portage-6ebc57440ce34b48b8ffe9216327d8a62b5e0ab7.tar.bz2 portage-6ebc57440ce34b48b8ffe9216327d8a62b5e0ab7.zip |
Skip global updates for help, version, and info actions.
svn path=/main/trunk/; revision=15179
-rw-r--r-- | pym/_emerge/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |