projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcacb7a
)
Skip global updates for help, version, and info actions.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Jan 2010 20:15:45 +0000
(20:15 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Jan 2010 20:15:45 +0000
(20:15 -0000)
svn path=/main/trunk/; revision=15179
pym/_emerge/main.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/main.py
b/pym/_emerge/main.py
index 98b8478a8765a176c680cbef064d7df6e03c2cd8..a2245892ab1d7a83cc7b0f2459dabed5328fdd06 100644
(file)
--- 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)