diff options
author | Guido van Rossum <guido@python.org> | 2013-10-17 15:37:47 -0700 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-10-17 15:37:47 -0700 |
commit | aa8ca3a0e22289dfe2dc14935730af6b199539bf (patch) | |
tree | 325aa7d9d584f40e4e48a36536fd97b9a34bff56 /asyncio/events.py | |
parent | 4e43e8312f55cd98a53cdafecbdd953f60ed415c (diff) | |
parent | 1baab9131db010f8372ae63ae30b74ff3b4cbb17 (diff) | |
download | trollius-aa8ca3a0e22289dfe2dc14935730af6b199539bf.tar.gz |
Merge
Diffstat (limited to 'asyncio/events.py')
-rw-r--r-- | asyncio/events.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asyncio/events.py b/asyncio/events.py index 9724615..6ca5668 100644 --- a/asyncio/events.py +++ b/asyncio/events.py @@ -12,7 +12,7 @@ import sys import threading import socket -from .log import asyncio_log +from .log import logger class Handle: @@ -36,8 +36,8 @@ class Handle: try: self._callback(*self._args) except Exception: - asyncio_log.exception('Exception in callback %s %r', - self._callback, self._args) + logger.exception('Exception in callback %s %r', + self._callback, self._args) self = None # Needed to break cycles when an exception occurs. |