summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2009-11-25 14:12:03 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2009-11-25 14:12:03 (GMT)
commit2ed8813f227756a8a698b03f1eb0b98af0b2b8b6 (patch)
tree30a58dbef1d04f0e5f49dff31cdd53ba1f46803c /Lib
parent17e94e052faeb65061da6d152e0ceeea71b9b05b (diff)
downloadcpython-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__.py2
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()