From: Zac Medico Date: Wed, 13 Oct 2010 09:22:33 +0000 (-0700) Subject: Fix reference to possibly undefined ips variable. X-Git-Tag: v2.1.9.17~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e4feb027ce7f6d27f91e6346fa8aeb2cb0c1996;p=portage.git Fix reference to possibly undefined ips variable. --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index edf8b7931..fb6647cfd 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2128,7 +2128,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