mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#128: fix variable name.
This commit is contained in:
parent
bfb483d0b2
commit
ef48d8aacb
@ -405,7 +405,7 @@ def copy_static_entry(source, target, builder, context={}):
|
||||
else:
|
||||
shutil.copyfile(source, target)
|
||||
elif path.isdir(source):
|
||||
if filename in builder.config.exclude_dirnames:
|
||||
if source in builder.config.exclude_dirnames:
|
||||
return
|
||||
if path.exists(target):
|
||||
shutil.rmtree(target)
|
||||
|
Loading…
Reference in New Issue
Block a user