Skip to content

Commit

Permalink
Merge branch 'fix/double-write' of https://github.com/bpabel/rez into…
Browse files Browse the repository at this point in the history
… bpabel-fix/double-write
  • Loading branch information
ajohns committed Dec 28, 2020
2 parents 4e0e240 + 5f114c7 commit 87cc25e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rez/serialise.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def open_file_for_write(filepath, mode=None):
try:
with atomic_write(filepath, overwrite=True, **encoding) as f:
f.write(content)
break

except WindowsError as e:
if attempt == 0:
Expand Down

0 comments on commit 87cc25e

Please sign in to comment.