commit | 57e79459fa872c4fc1724e34b9d2f90d53aac818 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Sep 08 20:43:59 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Sep 08 20:43:59 2002 +0000 |
tree | 8fbc16ff278a45db195eb98c8a6921cbdaf9a5c3 | |
parent | 513069028fed8a43474a86bfa823bbd0753deca1 [diff] |
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.