diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-01-07 22:38:48 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-02-11 16:41:19 +0900 |
| commit | d40ce68c7b2b02603725cf3072262ebcc82b40fe (patch) | |
| tree | 793ff2f6590cce1c1346eb7f08f7d3073ac3d76c /sphinx/cmd | |
| parent | 644d5558373d71268d0d8d3af760782a188e1e4c (diff) | |
| download | sphinx-git-d40ce68c7b2b02603725cf3072262ebcc82b40fe.tar.gz | |
refactor: Move terminal_safe() to sphinx.util.console
Diffstat (limited to 'sphinx/cmd')
| -rw-r--r-- | sphinx/cmd/build.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py index 1d4674b9e..6fd954296 100644 --- a/sphinx/cmd/build.py +++ b/sphinx/cmd/build.py @@ -23,9 +23,8 @@ from sphinx.application import Sphinx from sphinx.errors import SphinxError from sphinx.locale import __ from sphinx.util import Tee, format_exception_cut_frames, save_traceback -from sphinx.util.console import red, nocolor, color_terminal # type: ignore +from sphinx.util.console import red, nocolor, color_terminal, terminal_safe # type: ignore from sphinx.util.docutils import docutils_namespace, patch_docutils -from sphinx.util.pycompat import terminal_safe if False: # For type annotation |
