mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-19 01:14:45 -05:00
fix
This commit is contained in:
@@ -366,6 +366,7 @@ def force_decode(string, encoding):
|
||||
def movefile(source, dest):
|
||||
# move a file, removing the destination if it exists
|
||||
if os.path.exists(dest):
|
||||
try:
|
||||
os.unlink(dest)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user