diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-10-05 19:11:32 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-10-05 19:22:52 -0400 |
commit | 1546d40ae9cc26a3fa998d174984cda3ebbae4dd (patch) | |
tree | a144f662a0e345cdb6e625d49f7e534b674c76bd /setuptools/logging.py | |
parent | 2aaa95ef623c44c04eb5de484c78fc586b43abc6 (diff) | |
download | python-setuptools-git-1546d40ae9cc26a3fa998d174984cda3ebbae4dd.tar.gz |
Remove hack around distutils.dist.log, no longer relevant with pypa/distutils#183.
Diffstat (limited to 'setuptools/logging.py')
-rw-r--r-- | setuptools/logging.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/setuptools/logging.py b/setuptools/logging.py index 5d41c988..a902e3b9 100644 --- a/setuptools/logging.py +++ b/setuptools/logging.py @@ -24,12 +24,6 @@ def configure(): format="{message}", style='{', handlers=handlers, level=logging.DEBUG) 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 patched, - # implying: id(distutils.log) != id(distutils.dist.log). - # Make sure the same module object is used everywhere: - distutils.dist.log = distutils.log - def set_threshold(level): logging.root.setLevel(level*10) |