summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-08 09:10:35 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-08 09:10:35 +0000
commitc8494e0eaa16447bd12c15a0e6b03f27b220f5de (patch)
tree0cfc2d7679cbf41390045da239b1ddd7ef4901fa
parent1cc49c1cafb8757ffd6414a8028e8f78230cfe6d (diff)
downloadportage-c8494e0eaa16447bd12c15a0e6b03f27b220f5de.tar.gz
portage-c8494e0eaa16447bd12c15a0e6b03f27b220f5de.tar.bz2
portage-c8494e0eaa16447bd12c15a0e6b03f27b220f5de.zip
Disable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled.
svn path=/main/trunk/; revision=15769
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 208685946..9b5931181 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -65,7 +65,8 @@ if sys.hexversion >= 0x3000000:
def action_build(settings, trees, mtimedb,
myopts, myaction, myfiles, spinner):
- old_tree_timestamp_warn(settings['PORTDIR'], settings)
+ if '--usepkgonly' not in myopts:
+ old_tree_timestamp_warn(settings['PORTDIR'], settings)
# validate the state of the resume data
# so that we can make assumptions later.