From: Zac Medico Date: Mon, 8 Mar 2010 09:10:56 +0000 (-0000) Subject: Disable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled. (trunk r15769) X-Git-Tag: v2.1.8.2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=863d3b44ec6a81adf3b2969624df04883bf8e25e;p=portage.git Disable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled. (trunk r15769) svn path=/main/branches/2.1.7/; revision=15770 --- 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.