diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-01-01 21:38:08 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-01-01 21:38:56 +0900 |
commit | 0ba202009d8aeca27d0fab1bc0760bc5245f77ff (patch) | |
tree | 55e5f146e088e8300c04e3030bfc6eeadbe0b04f /setup.py | |
parent | f38bd8e9529d50e5cceffe3ca55be4b758529ff7 (diff) | |
download | sphinx-git-0ba202009d8aeca27d0fab1bc0760bc5245f77ff.tar.gz |
refactor: Reduce usages of distutils (refs: #9820)
distutils module is now deprecated and will be removed since Python
3.12. So this reduces the usages of the module.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,5 @@ import os import sys -from distutils import log from io import StringIO from setuptools import find_packages, setup @@ -148,8 +147,8 @@ else: if catalog.fuzzy and not self.use_fuzzy: continue - log.info('writing JavaScript strings in catalog %r to %r', - po_file, js_file) + self.log.info('writing JavaScript strings in catalog %r to %r', + po_file, js_file) jscatalog = {} for message in catalog: |