Line
Link Here
|
0 |
-- /usr/lib/portage/pym/_emerge/actions.py |
0 |
++ /usr/lib/portage/pym/_emerge/actions.py |
Lines 2186-2191
Link Here
|
2186 |
|
2186 |
|
2187 |
addrinfos = None |
2187 |
addrinfos = None |
2188 |
uris = [] |
2188 |
uris = [] |
|
|
2189 |
uris_save = [] |
2189 |
|
2190 |
|
2190 |
try: |
2191 |
try: |
2191 |
addrinfos = getaddrinfo_validate( |
2192 |
addrinfos = getaddrinfo_validate( |
Lines 2246-2255
Link Here
|
2246 |
while (1): |
2247 |
while (1): |
2247 |
if uris: |
2248 |
if uris: |
2248 |
dosyncuri = uris.pop() |
2249 |
dosyncuri = uris.pop() |
|
|
2250 |
uris_save.append(dosyncuri) |
2249 |
else: |
2251 |
else: |
2250 |
writemsg("!!! Exhausted addresses for %s\n" % \ |
2252 |
if maxretries < 0 or retries > maxretries: |
2251 |
hostname, noiselevel=-1) |
2253 |
writemsg("!!! Exhausted addresses for %s\n" % \ |
2252 |
return 1 |
2254 |
hostname, noiselevel=-1) |
|
|
2255 |
return 1 |
2256 |
else: |
2257 |
uris_save.reverse() |
2258 |
uris = uris_save |
2259 |
dosyncuri = uris_save.pop() |
2260 |
uris_save = [dosyncuri] |
2253 |
|
2261 |
|
2254 |
if (retries==0): |
2262 |
if (retries==0): |
2255 |
if "--ask" in myopts: |
2263 |
if "--ask" in myopts: |