diff options
author | Georg Brandl <georg@python.org> | 2006-08-12 08:32:02 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-08-12 08:32:02 (GMT) |
commit | f3e304297e94b9b1956a4ed95debd1b163958d71 (patch) | |
tree | bd299773d4bff2b58b3296624ae2af746e7efb0d /Lib/logging/config.py | |
parent | 953c1897d2c1683e37899998d4e2bc1a9d85b6c0 (diff) | |
download | cpython-f3e304297e94b9b1956a4ed95debd1b163958d71.zip cpython-f3e304297e94b9b1956a4ed95debd1b163958d71.tar.gz cpython-f3e304297e94b9b1956a4ed95debd1b163958d71.tar.bz2 |
Repair logging test spew caused by rev. 51206.
Diffstat (limited to 'Lib/logging/config.py')
-rw-r--r-- | Lib/logging/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 511e659..5ea0d15 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -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) |