diff options
Diffstat (limited to 'creole/rest_tools')
-rw-r--r-- | creole/rest_tools/clean_writer.py | 1 | ||||
-rw-r--r-- | creole/rest_tools/pypi_rest2html.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/creole/rest_tools/clean_writer.py b/creole/rest_tools/clean_writer.py index 3798c50..524c8d6 100644 --- a/creole/rest_tools/clean_writer.py +++ b/creole/rest_tools/clean_writer.py @@ -18,6 +18,7 @@ import sys from creole.exceptions import DocutilsImportError + try: import docutils from docutils.core import publish_parts diff --git a/creole/rest_tools/pypi_rest2html.py b/creole/rest_tools/pypi_rest2html.py index b264514..bacdf7f 100644 --- a/creole/rest_tools/pypi_rest2html.py +++ b/creole/rest_tools/pypi_rest2html.py @@ -16,6 +16,7 @@ from urllib.parse import urlparse from creole.exceptions import DocutilsImportError + try: import docutils # noqa flake8 from docutils import io, readers |