Lines 364-370
def fetch(myuris, mysettings, listonly=0, fetchonly=0,
Link Here
|
364 |
pass |
364 |
pass |
365 |
else: |
365 |
else: |
366 |
if try_mirrors: |
366 |
if try_mirrors: |
367 |
mymirrors += [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x] |
367 |
if 'gentoo-mirrors-shuffle' in mysettings["FEATURES"]: |
|
|
368 |
shuffled_mirrors = [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x] |
369 |
random.shuffle(shuffled_mirrors) |
370 |
mymirrors += shuffled_mirrors |
371 |
del shuffled_mirrors |
372 |
else: |
373 |
mymirrors += [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x] |
368 |
|
374 |
|
369 |
hash_filter = _hash_filter(mysettings.get("PORTAGE_CHECKSUM_FILTER", "")) |
375 |
hash_filter = _hash_filter(mysettings.get("PORTAGE_CHECKSUM_FILTER", "")) |
370 |
if hash_filter.transparent: |
376 |
if hash_filter.transparent: |
371 |
- |
|
|