Skip to content
Snippets Groups Projects
Commit 5650b14b authored by Frede H's avatar Frede H :speech_balloon:
Browse files

fixed two bugs

parent 5329b19b
No related branches found
No related tags found
No related merge requests found
......@@ -228,7 +228,7 @@ class PacmanMirrors:
proto = False
getbranch = False
rebranch = False
url = args.url | None
url = args.url
setbranch = bool(args.set_branch)
if args.get_branch:
getbranch = True
......@@ -284,7 +284,7 @@ class PacmanMirrors:
# Number 4
if url:
mirror = [
{"url": url, "country": "pkgbuild", "protocols": [url[url.find(":"):]]}
{"url": url, "country": "pkgbuild", "protocols": [url[url.find(":"):]], "resp_time": "00.00"}
]
filefn.output_mirror_list(self.config, mirror, quiet=True)
# Number 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment