diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-05-29 02:19:14 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-05-29 02:47:44 +0200 |
| commit | 437c6ccebe96e022a112057df7db6a4bbbfeaba8 (patch) | |
| tree | 0ec71224014647948a66c010903464438ba98406 /savedefconfig.py | |
| parent | 15de4c0c9924cfeef1553fde21cb9b9e288f6238 (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 'savedefconfig.py')
0 files changed, 0 insertions, 0 deletions
