From: Zac Medico Date: Mon, 20 Oct 2008 19:15:20 +0000 (-0000) Subject: Remove redundant duplicate uri elimination code. It's already handled in X-Git-Tag: v2.2_rc13~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a10c6c7e6118160f9599bae853aae04bc002e2d6;p=portage.git Remove redundant duplicate uri elimination code. It's already handled in the fetch loop. svn path=/main/trunk/; revision=11707 --- 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])