From a10c6c7e6118160f9599bae853aae04bc002e2d6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 20 Oct 2008 19:15:20 +0000 Subject: Remove redundant duplicate uri elimination code. It's already handled in the fetch loop. svn path=/main/trunk/; revision=11707 --- pym/portage/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index dfc332f65..f02307c49 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3511,9 +3511,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", for cmirr in custommirrors[mirrorname]: filedict[myfile].append( cmirr.rstrip("/") + "/" + path) - # remove the mirrors we tried from the list of official mirrors - if cmirr.strip() in thirdpartymirrors[mirrorname]: - thirdpartymirrors[mirrorname].remove(cmirr) + # now try the official mirrors if mirrorname in thirdpartymirrors: shuffle(thirdpartymirrors[mirrorname]) -- cgit v1.2.3-1-g7c22