diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-01-29 18:46:36 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-01-29 18:46:36 +0000 |
commit | 76a4d6c85349011562ea2ee244d4b734979af8ce (patch) | |
tree | 2a76933e16bc5e0951c4fa6133c0e611fbafd828 /pym | |
parent | b90061e5860d8769690ddd41e0e2f487860c85ee (diff) | |
download | portage-76a4d6c85349011562ea2ee244d4b734979af8ce.tar.gz portage-76a4d6c85349011562ea2ee244d4b734979af8ce.tar.bz2 portage-76a4d6c85349011562ea2ee244d4b734979af8ce.zip |
Skip global updates for help, version, and info actions. (trunk r15179)
svn path=/main/branches/2.1.7/; revision=15241
Diffstat (limited to 'pym')
-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 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) |