From c8494e0eaa16447bd12c15a0e6b03f27b220f5de Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 8 Mar 2010 09:10:35 +0000 Subject: Disable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled. svn path=/main/trunk/; revision=15769 --- pym/_emerge/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') 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. -- cgit v1.2.3-1-g7c22