Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
Update pacman_mirrors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Frede H authored May 15, 2017
1 parent d4d5a38 commit af4e410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacman_mirrors/pacman_mirrors.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ def test_mirrors(self, worklist):
ssl_wait = self.max_wait_time * 2
ssl_verify = self.config["ssl_verify"]
for mirror in worklist:
# pos = mirror["url"].find(":")
# url = mirror["url"][pos:]
pos = mirror["url"].find(":")
url = mirror["url"][:pos]
# for idx, proto in enumerate(mirror["protocols"]):
# mirror["url"] = "{}{}".format(proto, url)
if not self.quiet:
Expand Down

0 comments on commit af4e410

Please sign in to comment.