[Python-checkins] cpython: asyncio: Fix space in log message about poll time.

guido.van.rossum python-checkins at python.org
Sat Dec 21 05:47:18 CET 2013


http://hg.python.org/cpython/rev/46de42d47cb6
changeset:   88106:46de42d47cb6
user:        Guido van Rossum <guido at python.org>
date:        Fri Dec 20 20:37:41 2013 -0800
summary:
  asyncio: Fix space in log message about poll time.

files:
  Lib/asyncio/base_events.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -613,7 +613,7 @@
         t0 = self.time()
         event_list = self._selector.select(timeout)
         t1 = self.time()
-        argstr = '' if timeout is None else '{:.3f}'.format(timeout)
+        argstr = '' if timeout is None else ' {:.3f}'.format(timeout)
         if t1-t0 >= 1:
             level = logging.INFO
         else:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list