Show More
@@ -3445,8 +3445,9 b' def aftertrans(files):' | |||||
3445 | vfs.tryunlink(dest) |
|
3445 | vfs.tryunlink(dest) | |
3446 | try: |
|
3446 | try: | |
3447 | vfs.rename(src, dest) |
|
3447 | vfs.rename(src, dest) | |
3448 | except OSError: # journal file does not yet exist |
|
3448 | except OSError as exc: # journal file does not yet exist | |
3449 | pass |
|
3449 | if exc.errno != errno.ENOENT: | |
|
3450 | raise | |||
3450 |
|
3451 | |||
3451 | return a |
|
3452 | return a | |
3452 |
|
3453 |
General Comments 0
You need to be logged in to leave comments.
Login now