From e4a985821577b3ae4b4d1c413dca21e5ee5db15f Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Wed, 4 Aug 2021 12:04:06 -0500 Subject: codeburg --- mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mirror.py') diff --git a/mirror.py b/mirror.py index e0f8e09..61f16b3 100644 --- a/mirror.py +++ b/mirror.py @@ -11,7 +11,7 @@ with open("mirrors.toml", "r") as f: for path in repositories.keys(): local_path = pathlib.Path("/git") / pathlib.Path(path) local_path.mkdir(exist_ok=True, parents=True) - secondary_urls = repositories[path]["secondary"] + secondary_urls = repositories[path]["remotes"] os.chdir(str(local_path)) subprocess.run(["git", "remote", "update"]) subprocess.run(["git", "fetch", "origin", "'*:*'"]) -- cgit v1.2.3