From 26a2d51d5cff185677d5e54f3cfcae9fcaa666ae Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 13 Oct 2010 02:22:33 -0700 Subject: [PATCH] Fix reference to possibly undefined ips variable. --- 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 133874118..d395864b9 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2138,7 +2138,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): effective_maxretries = maxretries if effective_maxretries < 0: - effective_maxretries = len(ips) - 1 + effective_maxretries = len(uris) - 1 SERVER_OUT_OF_DATE = -1 EXCEEDED_MAX_RETRIES = -2 -- 2.26.2