diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-07 15:03:06 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-07 15:03:16 +0900 |
commit | ae24524d5f95cb7c94ffb2404322f1d0c0e4a6e1 (patch) | |
tree | 99e2181447ec20d3c52de8d966a2f8fecb3dc962 /sphinx/application.py | |
parent | 13df6f20ea9ff0a61b990ebb5ffad1ba2e251fa1 (diff) | |
download | sphinx-git-ae24524d5f95cb7c94ffb2404322f1d0c0e4a6e1.tar.gz |
Drop debug2() (refs: #3304)
Diffstat (limited to 'sphinx/application.py')
-rw-r--r-- | sphinx/application.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 307d63073..d6b781f59 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -425,9 +425,9 @@ class Sphinx(object): def debug2(self, message, *args, **kwargs): # type: (unicode, Any, Any) -> None """Emit a lowlevel debug-level informational message.""" - warnings.warn('app.debug2() is now deprecated. Use sphinx.util.logging instead.', + warnings.warn('app.debug2() is now deprecated. Use debug() instead.', RemovedInSphinx20Warning) - logger.debug2(message, *args, **kwargs) + logger.debug(message, *args, **kwargs) def _display_chunk(chunk): # type: (Any) -> unicode |