Show More
@@ -400,7 +400,7 b' def lexists(filename):' | |||
|
400 | 400 | return True |
|
401 | 401 | |
|
402 | 402 | def rename(src, dst): |
|
403 | """forcibly rename a file""" | |
|
403 | '''atomically rename file src to dst, replacing dst if it exists''' | |
|
404 | 404 | try: |
|
405 | 405 | os.rename(src, dst) |
|
406 | 406 | except OSError, err: # FIXME: check err (EEXIST ?) |
General Comments 0
You need to be logged in to leave comments.
Login now