summaryrefslogtreecommitdiff
path: root/sphinx/builders/devhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-22 13:41:56 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-02 12:59:50 +0900
commitb43523fcbecda58ffd1ed31d29d0c9363a42be86 (patch)
treef5dc45705c4d1251503e602b4cdd4ec46341e87e /sphinx/builders/devhelp.py
parent70d6a560f2e23acbfaa85d1eda7471cfca15f77d (diff)
downloadsphinx-git-b43523fcbecda58ffd1ed31d29d0c9363a42be86.tar.gz
Use sphinx.util.logging instead app.info(), verbose(), debug() and debug2()
Diffstat (limited to 'sphinx/builders/devhelp.py')
-rw-r--r--sphinx/builders/devhelp.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sphinx/builders/devhelp.py b/sphinx/builders/devhelp.py
index f1ed3a495..af8bcfeed 100644
--- a/sphinx/builders/devhelp.py
+++ b/sphinx/builders/devhelp.py
@@ -19,6 +19,7 @@ from os import path
from docutils import nodes
from sphinx import addnodes
+from sphinx.util import logging
from sphinx.util.osutil import make_filename
from sphinx.builders.html import StandaloneHTMLBuilder
@@ -33,6 +34,9 @@ if False:
from sphinx.application import Sphinx # NOQA
+logger = logging.getLogger(__name__)
+
+
class DevhelpBuilder(StandaloneHTMLBuilder):
"""
Builder that also outputs GNOME Devhelp file.
@@ -60,7 +64,7 @@ class DevhelpBuilder(StandaloneHTMLBuilder):
def build_devhelp(self, outdir, outname):
# type: (unicode, unicode) -> None
- self.info('dumping devhelp index...')
+ logger.info('dumping devhelp index...')
# Basic info
root = etree.Element('book',