diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-10-31 19:24:12 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-10-31 19:24:12 +0300 |
commit | 8b687ac30481e7204677138d8f2f3b49e354963e (patch) | |
tree | 7723d959db00959780dc7f9f56c673cd47d7cd97 /sphinx/ext/graphviz.py | |
parent | e8e0f93c3fc7a9f8be4a91c13c6ec49672347a1e (diff) | |
parent | f4d7b2e60e4352aac6e19dad16f39328bf493ff4 (diff) |
Merge branch '1.8'
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r-- | sphinx/ext/graphviz.py | 4 |
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): |