actual fix
Marco Andronaco andronacomarco@gmail.com
Wed, 16 Aug 2023 16:06:35 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
github_backup/__main__.py
→
github_backup/__main__.py
@@ -34,8 +34,8 @@ logger.info("Updating " + r.name)
repo = Repo(repo_path) repo.remote().fetch("+refs/heads/*:refs/heads/*") return repo - logger.info("Cloning " + r.name) - return Repo.clone_from(REPO_URL, repo_path, bare=True) + logger.info("Cloning " + r.git_url) + return Repo.clone_from(r.clone_url, repo_path, bare=True) results = [ handle_repo(repo) for repo in repos if repo.name not in blacklist ] logger.info(results)