From 057c4657efe5400ec4dc2df9ae509a0a2ac85e78 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 14 Apr 2014 11:25:24 +0200 Subject: [PATCH] Fix whitespace. --- rq/job.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rq/job.py b/rq/job.py index 87bd83e..b25aac0 100644 --- a/rq/job.py +++ b/rq/job.py @@ -449,12 +449,12 @@ class Job(object): _job_stack.push(self.id) try: self.set_status(Status.STARTED) - self._result = self.func(*self.args, **self.kwargs) + self._result = self.func(*self.args, **self.kwargs) self.set_status(Status.FINISHED) - self.ended_at = utcnow() + self.ended_at = utcnow() finally: assert self.id == _job_stack.pop() - + return self._result def get_ttl(self, default_ttl=None):