##// END OF EJS Templates
made error string a little more robust.
Anthony Scopatz -
Show More
@@ -3,7 +3,10 b' import os.path'
3 import re
3 import re
4 import time
4 import time
5 from docutils import io, nodes, statemachine, utils
5 from docutils import io, nodes, statemachine, utils
6 from docutils.utils.error_reporting import ErrorString
6 try:
7 from docutils.utils.error_reporting import ErrorString # the new way
8 except ImportError:
9 from docutils.error_reporting import ErrorString # the old way
7 from docutils.parsers.rst import Directive, convert_directive_function
10 from docutils.parsers.rst import Directive, convert_directive_function
8 from docutils.parsers.rst import directives, roles, states
11 from docutils.parsers.rst import directives, roles, states
9 from docutils.parsers.rst.roles import set_classes
12 from docutils.parsers.rst.roles import set_classes
General Comments 0
You need to be logged in to leave comments. Login now