Skip to content

Commit 90ac499

Browse files
authored
Merge pull request #390 from josegonzalez/josegonzalez-patch-1
chore: fix inline comments
2 parents f4dfc57 + 3d354be commit 90ac499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github_backup/github_backup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ def backup_issues(args, repo_cwd, repository, repos_template):
11371137

11381138
with codecs.open(issue_file + ".temp", "w", encoding="utf-8") as f:
11391139
json_dump(issue, f)
1140-
os.rename(issue_file + ".temp", issue_file) # Unlike json_dump, this is atomic
1140+
os.rename(issue_file + ".temp", issue_file) # Unlike json_dump, this is atomic
11411141

11421142

11431143
def backup_pulls(args, repo_cwd, repository, repos_template):
@@ -1208,7 +1208,7 @@ def backup_pulls(args, repo_cwd, repository, repos_template):
12081208

12091209
with codecs.open(pull_file + ".temp", "w", encoding="utf-8") as f:
12101210
json_dump(pull, f)
1211-
os.rename(pull_file + ".temp", pull_file) # Unlike json_dump, this is atomic
1211+
os.rename(pull_file + ".temp", pull_file) # Unlike json_dump, this is atomic
12121212

12131213

12141214
def backup_milestones(args, repo_cwd, repository, repos_template):

0 commit comments

Comments
 (0)