mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Repair logging test spew caused by rev. 51206.
This commit is contained in:
parent
953c1897d2
commit
f3e304297e
2 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ def fileConfig(fname, defaults=None):
|
|||
logging._acquireLock()
|
||||
try:
|
||||
logging._handlers.clear()
|
||||
logging._handlerList = []
|
||||
del logging._handlerList[:]
|
||||
# Handlers add themselves to logging._handlers
|
||||
handlers = _install_handlers(cp, formatters)
|
||||
_install_loggers(cp, handlers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue