From: Zac Medico Date: Thu, 7 Oct 2010 17:23:44 +0000 (-0700) Subject: Fix --sync maxretries calculation. X-Git-Tag: v2.2_rc91~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e1fe939cc6bfdfc66fef6b7890864564600e9a8;p=portage.git Fix --sync maxretries calculation. --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 2aabb25b3..0d19ea9ae 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2129,7 +2129,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): effective_maxretries = maxretries if effective_maxretries < 0: - effective_maxretries = len(ips) + effective_maxretries = len(ips) - 1 SERVER_OUT_OF_DATE = -1 EXCEEDED_MAX_RETRIES = -2