summaryrefslogtreecommitdiff
path: root/setuptools/logging.py
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri+github@gmail.com>2022-01-22 17:30:36 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-01-24 11:56:43 +0000
commit711b5267109a4b6799d002aa96fa913ab8bee231 (patch)
treeb97b6edb19bc43422668dc0108eb9938c60277eb /setuptools/logging.py
parent633171c6bb8e75983ea405ae529806ff6dc849fa (diff)
downloadpython-setuptools-git-711b5267109a4b6799d002aa96fa913ab8bee231.tar.gz
Update setuptools/logging.py
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Diffstat (limited to 'setuptools/logging.py')
-rw-r--r--setuptools/logging.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/logging.py b/setuptools/logging.py
index 56669c96..15b57613 100644
--- a/setuptools/logging.py
+++ b/setuptools/logging.py
@@ -25,9 +25,9 @@ def configure():
monkey.patch_func(set_threshold, distutils.log, 'set_threshold')
# For some reason `distutils.log` module is getting cached in `distutils.dist`
- # and then loaded again when we have the opportunity to patch it.
- # This implies: id(distutils.log) != id(distutils.dist.log).
- # We need to make sure the same module object is used everywhere:
+ # and then loaded again when patched,
+ # implying: id(distutils.log) != id(distutils.dist.log).
+ # Make sure the same module object is used everywhere:
distutils.dist.log = distutils.log