Commit 26678977 authored by James Antill's avatar James Antill

Do special handling for file: before starting the threading

parent 51092995
......@@ -353,7 +353,10 @@ class FastestMirror:
self.threads[0].join()
del self.threads[0]
mhost = host(mirror)
if mirror.startswith("file:"):
mhost = "127.0.0.1"
else:
mhost = host(mirror)
if downgrade_ftp and mirror.startswith("ftp:"):
# One less than "dead"
self._add_result(mirror, mhost, 99999999998)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment