Replace string substitution with string formatting

This commit is contained in:
Pedro Algarvio 2014-04-30 12:12:16 +01:00
parent 2f49373b05
commit 8b5a78d381

View File

@ -1678,7 +1678,7 @@ class Syndic(Minion):
if e.errno == errno.EAGAIN or e.errno == errno.EINTR:
break
raise
log.trace('Got event %s', event['tag'])
log.trace('Got event {0}'.format(event['tag']))
if self.event_forward_timeout is None:
self.event_forward_timeout = (
time.time() + self.opts['syndic_event_forward_timeout']