[yum-git] plugins/fastestmirror

Luke Macken lmacken at linux.duke.edu
Sun May 18 02:30:34 UTC 2008


 plugins/fastestmirror/fastestmirror.py |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8bbcee213a0d8a7e92d73209cba2f0acbaf44620
Author: Luke Macken <lmacken at redhat.com>
Date:   Sat May 17 22:30:29 2008 -0400

    fastestmirror: Apply a patch from Tuomo Soini to fix http auth when used in the baseurl

diff --git a/plugins/fastestmirror/fastestmirror.py b/plugins/fastestmirror/fastestmirror.py
index 4edea45..72933b4 100644
--- a/plugins/fastestmirror/fastestmirror.py
+++ b/plugins/fastestmirror/fastestmirror.py
@@ -339,6 +339,7 @@ class PollThread(threading.Thread):
         self.parent = parent
         self.mirror = mirror
         self.host = urlparse.urlparse(mirror)[1]
+        self.host = self.host.split('@')[-1]
         uService = urlparse.urlparse(mirror)[0]
         if uService == "http":
             self.port = 80



More information about the Yum-cvs-commits mailing list