summaryrefslogtreecommitdiff
path: root/sphinx/ext/pngmath.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-24 19:15:39 +0100
committerGeorg Brandl <georg@python.org>2009-02-24 19:15:39 +0100
commit9ed275c868c97786c25668cd87ed3fbc8e862f15 (patch)
tree1b2aea56342f65c6bc202b9824ed7b2c93f583d0 /sphinx/ext/pngmath.py
parentfb511a015aa47c943c5dc1286f58743fca307b1c (diff)
downloadsphinx-git-9ed275c868c97786c25668cd87ed3fbc8e862f15.tar.gz
#109: fix circular import problems by moving exceptions into their own module.
Diffstat (limited to 'sphinx/ext/pngmath.py')
-rw-r--r--sphinx/ext/pngmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/pngmath.py b/sphinx/ext/pngmath.py
index 1ec64639f..f779a64f8 100644
--- a/sphinx/ext/pngmath.py
+++ b/sphinx/ext/pngmath.py
@@ -22,9 +22,9 @@ except ImportError:
from docutils import nodes
+from sphinx.errors import SphinxError
from sphinx.util import ensuredir
from sphinx.util.png import read_png_depth, write_png_depth
-from sphinx.application import SphinxError
from sphinx.ext.mathbase import setup as mathbase_setup, wrap_displaymath
class MathExtError(SphinxError):