summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r--pym/_emerge/main.py3
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)