mirror of https://github.com/python/cpython
logging: Issue 6615: Changed handler prepend to append.
This commit is contained in:
parent
17e94e052f
commit
2ed8813f22
|
@ -610,7 +610,7 @@ def _addHandlerRef(handler):
|
|||
"""
|
||||
_acquireLock()
|
||||
try:
|
||||
_handlerList.insert(0, weakref.ref(handler, _removeHandlerRef))
|
||||
_handlerList.append(weakref.ref(handler, _removeHandlerRef))
|
||||
finally:
|
||||
_releaseLock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue