Show More
@@ -138,13 +138,7 b' from io import StringIO' | |||
|
138 | 138 | |
|
139 | 139 | # Third-party |
|
140 | 140 | from docutils.parsers.rst import directives |
|
141 | import sphinx | |
|
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 | |
|
141 | from docutils.parsers.rst import Directive | |
|
148 | 142 | |
|
149 | 143 | # Our own |
|
150 | 144 | from traitlets.config import Config |
General Comments 0
You need to be logged in to leave comments.
Login now