all repos — github-backup-script @ 8ca36273b1f63066816ba6d32cbc827f46f6d386

remove debug statement
Marco Andronaco andronacomarco@gmail.com
Wed, 16 Aug 2023 16:25:37 +0200
commit

8ca36273b1f63066816ba6d32cbc827f46f6d386

parent

da780fd7e6f8a66298a6042cb8f85acc64163439

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M github_backup/__main__.pygithub_backup/__main__.py

@@ -19,6 +19,7 @@ if default is None:

logger.error("Missing config key: {}.".format(key)) exit(1) return default + github_user = get_config("github_username") github_token = get_config("github_auth_token") repo_dir = get_config("repo_dir")

@@ -31,7 +32,6 @@ def handle_repo(r):

repo_name = r.name repo_path = Path(join(repo_dir, repo_name + ".git")) if repo_path.exists(): - return logger.info("Updating " + repo_name) repo = Repo(repo_path) repo.remote().fetch("+refs/heads/*:refs/heads/*")