diff options
author | Raymond Hettinger <python@rcn.com> | 2002-09-08 20:43:59 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-09-08 20:43:59 (GMT) |
commit | 57e79459fa872c4fc1724e34b9d2f90d53aac818 (patch) | |
tree | 8fbc16ff278a45db195eb98c8a6921cbdaf9a5c3 /Lib/imputil.py | |
parent | 513069028fed8a43474a86bfa823bbd0753deca1 (diff) | |
download | cpython-57e79459fa872c4fc1724e34b9d2f90d53aac818.zip cpython-57e79459fa872c4fc1724e34b9d2f90d53aac818.tar.gz cpython-57e79459fa872c4fc1724e34b9d2f90d53aac818.tar.bz2 |
shutil.copyfile(src,dst) was clobbering the file when the src and dst were
the same. Added check to verify the two names are not the same. Does not
check the actual files to see if there is a symbolic link.
Closes SF bug 490165 and Tzot's patch 604600.
Diffstat (limited to 'Lib/imputil.py')
0 files changed, 0 insertions, 0 deletions