Repair logging test spew caused by rev. 51206.

This commit is contained in:
Georg Brandl 2006-08-12 08:32:02 +00:00
parent 953c1897d2
commit f3e304297e
2 changed files with 3 additions and 3 deletions

View file

@ -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)