Closed jwg4 closed 7 years ago
Hello jwg4,
Thank you for submitting a PR for this issue. Do you mind getting passing tests? This shows we have some failing tests. Other than that, the PR looks good, we'll try to get this merged in as soon as we can.
No problem. I saw the Travis build had failed but I haven't yet had time to fix it. Will do so and resubmit asap.
Looks good, thanks for the PR :)
Leaving a partially-copied archive with the relevant name in the storage dir creates a problem since there is an archive present, so no new virtualenv is built, but it can't be used. We should first write to a temporary file in the same directory, then do
os.rename()
which is guaranteed to be atomic.