]> granicus.if.org Git - python/commitdiff
asyncio: Fix space in log message about poll time.
authorGuido van Rossum <guido@python.org>
Sat, 21 Dec 2013 04:37:41 +0000 (20:37 -0800)
committerGuido van Rossum <guido@python.org>
Sat, 21 Dec 2013 04:37:41 +0000 (20:37 -0800)
Lib/asyncio/base_events.py

index f2d117bdbd2ac9ea284f2557102cf72cfd98843d..a88506561df096843f6e19bbf3a97f766faefc7c 100644 (file)
@@ -613,7 +613,7 @@ class BaseEventLoop(events.AbstractEventLoop):
         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: