summaryrefslogtreecommitdiff
path: root/sphinx/ext/jsmath.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-23 14:26:07 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-24 00:27:03 +0900
commit3d8cb12497dfa9a044e4b4eaa98b39c4000c1915 (patch)
treed02ecbd60fa56de0906ed09dd67e6c1d623d832b /sphinx/ext/jsmath.py
parente4ecb97d5ac308cb3a54994661d61d0c82402eb0 (diff)
downloadsphinx-git-3d8cb12497dfa9a044e4b4eaa98b39c4000c1915.tar.gz
Raise ExtensionError from Config class instead application class
Diffstat (limited to 'sphinx/ext/jsmath.py')
-rw-r--r--sphinx/ext/jsmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py
index e523b54c8..ffa36969d 100644
--- a/sphinx/ext/jsmath.py
+++ b/sphinx/ext/jsmath.py
@@ -15,7 +15,7 @@ from typing import TYPE_CHECKING
from docutils import nodes
import sphinx
-from sphinx.application import ExtensionError
+from sphinx.errors import ExtensionError
from sphinx.ext.mathbase import get_node_equation_number
from sphinx.ext.mathbase import setup_math as mathbase_setup
from sphinx.locale import _