diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-11-25 14:12:03 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-11-25 14:12:03 (GMT) |
commit | 2ed8813f227756a8a698b03f1eb0b98af0b2b8b6 (patch) | |
tree | 30a58dbef1d04f0e5f49dff31cdd53ba1f46803c /Lib | |
parent | 17e94e052faeb65061da6d152e0ceeea71b9b05b (diff) | |
download | cpython-2ed8813f227756a8a698b03f1eb0b98af0b2b8b6.zip cpython-2ed8813f227756a8a698b03f1eb0b98af0b2b8b6.tar.gz cpython-2ed8813f227756a8a698b03f1eb0b98af0b2b8b6.tar.bz2 |
logging: Issue 6615: Changed handler prepend to append.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index b1f92b0..667a3a5 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -610,7 +610,7 @@ def _addHandlerRef(handler): """ _acquireLock() try: - _handlerList.insert(0, weakref.ref(handler, _removeHandlerRef)) + _handlerList.append(weakref.ref(handler, _removeHandlerRef)) finally: _releaseLock() |