Show More
@@ -138,13 +138,7 b' from io import StringIO' | |||||
138 |
|
138 | |||
139 | # Third-party |
|
139 | # Third-party | |
140 | from docutils.parsers.rst import directives |
|
140 | from docutils.parsers.rst import directives | |
141 | import sphinx |
|
141 | from docutils.parsers.rst import Directive | |
142 | # sphinx.version_info available since 1.2, and we require 1.3 |
|
|||
143 | # sphinx.util.compat deprecated at 1.6 and removed at 1.7 |
|
|||
144 | if sphinx.version_info < (1, 5, 7): |
|
|||
145 | from sphinx.util.compat import Directive |
|
|||
146 | else: |
|
|||
147 | from docutils.parsers.rst import Directive |
|
|||
148 |
|
142 | |||
149 | # Our own |
|
143 | # Our own | |
150 | from traitlets.config import Config |
|
144 | from traitlets.config import Config |
General Comments 0
You need to be logged in to leave comments.
Login now