summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/logging/__init__.py')
-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()