mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
PEP 8
This commit is contained in:
parent
db8395f9e1
commit
51a78a9b88
@ -396,8 +396,10 @@ def movefile(source, dest):
|
||||
def copyfile(source, dest):
|
||||
"""Copy a file and its modification times, if possible."""
|
||||
shutil.copyfile(source, dest)
|
||||
try: shutil.copystat(source, dest)
|
||||
except shutil.Error: pass
|
||||
try:
|
||||
shutil.copystat(source, dest)
|
||||
except shutil.Error:
|
||||
pass
|
||||
|
||||
|
||||
def copy_static_entry(source, target, builder, context={}):
|
||||
|
Loading…
Reference in New Issue
Block a user