From 3d354beb2403cbf97c76d798a25ce367be43dd8f Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 21 Feb 2025 22:14:37 -0500 Subject: [PATCH] chore: fix inline comments --- github_backup/github_backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github_backup/github_backup.py b/github_backup/github_backup.py index d845d5b..29c9e58 100644 --- a/github_backup/github_backup.py +++ b/github_backup/github_backup.py @@ -1137,7 +1137,7 @@ def backup_issues(args, repo_cwd, repository, repos_template): with codecs.open(issue_file + ".temp", "w", encoding="utf-8") as f: json_dump(issue, f) - os.rename(issue_file + ".temp", issue_file) # Unlike json_dump, this is atomic + os.rename(issue_file + ".temp", issue_file) # Unlike json_dump, this is atomic def backup_pulls(args, repo_cwd, repository, repos_template): @@ -1208,7 +1208,7 @@ def backup_pulls(args, repo_cwd, repository, repos_template): with codecs.open(pull_file + ".temp", "w", encoding="utf-8") as f: json_dump(pull, f) - os.rename(pull_file + ".temp", pull_file) # Unlike json_dump, this is atomic + os.rename(pull_file + ".temp", pull_file) # Unlike json_dump, this is atomic def backup_milestones(args, repo_cwd, repository, repos_template):