Show More
@@ -760,7 +760,7 b' def unlink(f):' | |||
|
760 | 760 | pass |
|
761 | 761 | |
|
762 | 762 | def copyfile(src, dest): |
|
763 | "copy a file, preserving mode" | |
|
763 | "copy a file, preserving mode and atime/mtime" | |
|
764 | 764 | if os.path.islink(src): |
|
765 | 765 | try: |
|
766 | 766 | os.unlink(dest) |
@@ -770,7 +770,7 b' def copyfile(src, dest):' | |||
|
770 | 770 | else: |
|
771 | 771 | try: |
|
772 | 772 | shutil.copyfile(src, dest) |
|
773 |
shutil.copy |
|
|
773 | shutil.copystat(src, dest) | |
|
774 | 774 | except shutil.Error, inst: |
|
775 | 775 | raise Abort(str(inst)) |
|
776 | 776 |
General Comments 0
You need to be logged in to leave comments.
Login now