use atomic writes for config file writing as well

This commit is contained in:
Nick Sweeting 2020-06-30 01:12:06 -04:00
parent cf01eff9c7
commit 79b19ddf35
4 changed files with 37 additions and 38 deletions

View file

@ -65,7 +65,6 @@ def save_git(link: Link, out_dir: Optional[str]=None, timeout: int=TIMEOUT) -> A
timer = TimedProgress(timeout, prefix=' ')
try:
result = run(cmd, cwd=output_path, timeout=timeout + 1)
if result.returncode == 128:
# ignore failed re-download when the folder already exists
pass