mirror of https://github.com/mahmoud/boltons.git
fixes files not been moved to destination when overwrite=False
This commit is contained in:
parent
6b0721b6ae
commit
e53b93581e
|
@ -285,7 +285,7 @@ else:
|
|||
os.rename(src, dst)
|
||||
else:
|
||||
os.link(src, dst)
|
||||
os.unlink(dst)
|
||||
os.unlink(src)
|
||||
return
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue