summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-23 11:51:43 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-23 11:51:43 -0700
commitcb4cd5025405b28f76b3487f5eec82590e2cabdb (patch)
tree2c2ef36af99c90be4481575f637cb49a4bf67c55
parenta3005f69ba99d0e882da44716e3743737e6e4987 (diff)
downloadportage-cb4cd5025405b28f76b3487f5eec82590e2cabdb.tar.gz
portage-cb4cd5025405b28f76b3487f5eec82590e2cabdb.tar.bz2
portage-cb4cd5025405b28f76b3487f5eec82590e2cabdb.zip
Skip global updates prior to sync (called after).
-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 26f37667a..b170ea32f 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1611,7 +1611,8 @@ def emerge_main(args=None):
tmpcmdline.extend(args)
myaction, myopts, myfiles = parse_opts(tmpcmdline)
- if myaction not in ('help', 'info', 'version') and \
+ # skip global updates prior to sync, since it's called after sync
+ if myaction not in ('help', 'info', 'sync', 'version') and \
myopts.get('--package-moves') != 'n' and \
_global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
mtimedb.commit()