From 295198d5343ea8004707c64aad293a4693c7e753 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Oct 2010 10:23:44 -0700 Subject: [PATCH] Fix --sync maxretries calculation. --- pym/_emerge/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 2f0c0756a..67663e686 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2119,7 +2119,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 -- 2.26.2