diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-10-20 19:15:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-10-20 19:15:20 +0000 |
commit | a10c6c7e6118160f9599bae853aae04bc002e2d6 (patch) | |
tree | c2c7de8c668cc05f1d572555c968fb5186667283 | |
parent | 58530494f87ece91bf498453c5fb6778a2f69a00 (diff) | |
download | portage-a10c6c7e6118160f9599bae853aae04bc002e2d6.tar.gz portage-a10c6c7e6118160f9599bae853aae04bc002e2d6.tar.bz2 portage-a10c6c7e6118160f9599bae853aae04bc002e2d6.zip |
Remove redundant duplicate uri elimination code. It's already handled in
the fetch loop.
svn path=/main/trunk/; revision=11707
-rw-r--r-- | pym/portage/__init__.py | 4 |
1 files changed, 1 insertions, 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]) |