From d0fa35dc666296f9ad824f013f0f22ba6517f0e7 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 16 Dec 2013 11:17:22 +0100 Subject: [PATCH] Python 2.6 fix. --- rq/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/worker.py b/rq/worker.py index 1f01b00..8cf9d14 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -365,7 +365,7 @@ class Worker(object): timeout = max(timeout, self.default_worker_ttl) self.connection.expire(self.key, timeout) self.log.debug('Sent heartbeat to prevent worker timeout. ' - 'Next one should arrive within {} seconds.'.format(timeout)) + 'Next one should arrive within {0} seconds.'.format(timeout)) def fork_and_perform_job(self, job): """Spawns a work horse to perform the actual work and passes it a job.