summaryrefslogtreecommitdiff
path: root/sphinx/builders/gettext.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-01-19 21:20:14 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-01-19 21:20:14 +0900
commit332f98d44c7d4b251d30c4adf68a34f5020516f9 (patch)
treee40d53b3920c138db90f96bcfa3aa0797d2bbea4 /sphinx/builders/gettext.py
parentc5f20a9046b2af7c458517e0377fa7f77ac85a45 (diff)
downloadsphinx-git-332f98d44c7d4b251d30c4adf68a34f5020516f9.tar.gz
Give "nonl=True" value to logging.info() instead of int
Diffstat (limited to 'sphinx/builders/gettext.py')
-rw-r--r--sphinx/builders/gettext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py
index 38b743dea..aace9bb49 100644
--- a/sphinx/builders/gettext.py
+++ b/sphinx/builders/gettext.py
@@ -236,7 +236,7 @@ class MessageCatalogBuilder(I18nBuilder):
# type: () -> None
files = list(self._collect_templates())
files.sort()
- logger.info(bold(__('building [%s]: ') % self.name), nonl=1)
+ logger.info(bold(__('building [%s]: ') % self.name), nonl=True)
logger.info(__('targets for %d template files'), len(files))
extract_translations = self.templates.environment.extract_translations