projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90061e
)
Skip global updates for help, version, and info actions. (trunk r15179)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:46:36 +0000
(18:46 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:46:36 +0000
(18:46 -0000)
svn path=/main/branches/2.1.7/; revision=15241
pym/_emerge/main.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/main.py
b/pym/_emerge/main.py
index 3b1475b534993a791381f44faf30984773e37d29..d592377f90027b15bc09505c791ca9c356dd4462 100644
(file)
--- 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)