diff options
author | Guido van Rossum <guido@dropbox.com> | 2013-10-17 22:39:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2013-10-17 22:39:45 (GMT) |
commit | fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc (patch) | |
tree | 9c111dea008d9eec467e63d76d59502c2f5128a3 /Lib/asyncio/events.py | |
parent | b795aa8547b5a615d715fedc6a6267b7e8811d94 (diff) | |
download | cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.zip cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.tar.gz cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.tar.bz2 |
Rename the logger to plain "logger".
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r-- | Lib/asyncio/events.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index 9724615..6ca5668 100644 --- a/Lib/asyncio/events.py +++ b/Lib/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. |