summaryrefslogtreecommitdiff
path: root/setconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-05-29 02:19:14 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-05-29 02:47:44 +0200
commit437c6ccebe96e022a112057df7db6a4bbbfeaba8 (patch)
tree0ec71224014647948a66c010903464438ba98406 /setconfig.py
parent15de4c0c9924cfeef1553fde21cb9b9e288f6238 (diff)
Use os.replace() if available in _save_old()
Gives *nix rename() semantics on Windows, with overwriting of the target file. Also limit the scope of the catch-all try-except.
Diffstat (limited to 'setconfig.py')
0 files changed, 0 insertions, 0 deletions