Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11707 - main/trunk/pym/portage
Date: Mon, 20 Oct 2008 19:15:22
Message-Id: E1Ks0Dp-0003jK-0G@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-10-20 19:15:20 +0000 (Mon, 20 Oct 2008)
3 New Revision: 11707
4
5 Modified:
6 main/trunk/pym/portage/__init__.py
7 Log:
8 Remove redundant duplicate uri elimination code. It's already handled in
9 the fetch loop.
10
11
12 Modified: main/trunk/pym/portage/__init__.py
13 ===================================================================
14 --- main/trunk/pym/portage/__init__.py 2008-10-20 19:11:15 UTC (rev 11706)
15 +++ main/trunk/pym/portage/__init__.py 2008-10-20 19:15:20 UTC (rev 11707)
16 @@ -3511,9 +3511,7 @@
17 for cmirr in custommirrors[mirrorname]:
18 filedict[myfile].append(
19 cmirr.rstrip("/") + "/" + path)
20 - # remove the mirrors we tried from the list of official mirrors
21 - if cmirr.strip() in thirdpartymirrors[mirrorname]:
22 - thirdpartymirrors[mirrorname].remove(cmirr)
23 +
24 # now try the official mirrors
25 if mirrorname in thirdpartymirrors:
26 shuffle(thirdpartymirrors[mirrorname])