Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-31 19:24:12 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-31 19:24:12 +0300
commit8b687ac30481e7204677138d8f2f3b49e354963e (patch)
tree7723d959db00959780dc7f9f56c673cd47d7cd97 /sphinx/ext/graphviz.py
parente8e0f93c3fc7a9f8be4a91c13c6ec49672347a1e (diff)
parentf4d7b2e60e4352aac6e19dad16f39328bf493ff4 (diff)
Merge branch '1.8'
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r--sphinx/ext/graphviz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index 57d63f120..ae10b2c25 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -26,7 +26,7 @@ from sphinx.errors import SphinxError
from sphinx.locale import _, __
from sphinx.util import logging
from sphinx.util.docutils import SphinxDirective
-from sphinx.util.fileutil import copy_asset_file
+from sphinx.util.fileutil import copy_asset
from sphinx.util.i18n import search_image_for_language
from sphinx.util.osutil import ensuredir, ENOENT, EPIPE, EINVAL
@@ -412,7 +412,7 @@ def on_build_finished(app, exc):
if exc is None:
src = path.join(sphinx.package_dir, 'templates', 'graphviz', 'graphviz.css')
dst = path.join(app.outdir, '_static')
- copy_asset_file(src, dst)
+ copy_asset(src, dst)
def setup(app):