Remove redundant duplicate uri elimination code. It's already handled in
authorZac Medico <zmedico@gentoo.org>
Mon, 20 Oct 2008 19:15:20 +0000 (19:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 20 Oct 2008 19:15:20 +0000 (19:15 -0000)
the fetch loop.

svn path=/main/trunk/; revision=11707

pym/portage/__init__.py

index dfc332f65bc6c2f5be0dc0e855c7831f4a19b76f..f02307c495b50be2f04e745c6071d8dfe25584a0 100644 (file)
@@ -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])