summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-12-08 04:47:52 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-12-08 04:54:47 +0100
commit78073d6674ce3250334d0f5177c9f8010e8d381c (patch)
tree918f7a9e0db6c5d69eafbb8b07ffff2c3d55bf18 /examples
parent3cc2f9f32b61ed27c533b60a8544ac32de0d969d (diff)
Preserve symlinks when writing .config.old files
if .config is a symlink, then the intention is probably to overwrite the target, but rename()ing the symlink to .config.old interferes with that. Use the shutil.copyfile() fallback instead if .config is a symlink.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions