From 863d3b44ec6a81adf3b2969624df04883bf8e25e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 8 Mar 2010 09:10:56 +0000 Subject: [PATCH] Disable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled. (trunk r15769) svn path=/main/branches/2.1.7/; revision=15770 --- pym/_emerge/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 48e0974b2..5bbe5e20d 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. -- 2.26.2