Skip to content
Unverified Commit 03174931 authored by Paul Wise's avatar Paul Wise
Browse files

Add Python code for correct overwriting of files

Use the atomicwrites module to ensure the overwrite happens atomically.

Workaround the permissions being incorrect afterwards.

Workaround the prefix argument not working in some versions.

See-also: https://github.com/untitaker/python-atomicwrites/issues/37
See-also: https://github.com/untitaker/python-atomicwrites/issues/38
See-also: https://github.com/untitaker/python-atomicwrites/issues/39
See-also: https://github.com/untitaker/python-atomicwrites/issues/40
See-also: https://github.com/untitaker/python-atomicwrites/issues/42
parent 7bba0a99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment