From 29222ea12f822e29307ee7ba674166d5031b3ae4 Mon Sep 17 00:00:00 2001 From: ericatkin Date: Thu, 4 Jun 2020 20:05:58 -0600 Subject: [PATCH] Job.requeue() doesn't return the job (#1265) --- rq/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/job.py b/rq/job.py index 69422da4..688929ae 100644 --- a/rq/job.py +++ b/rq/job.py @@ -577,7 +577,7 @@ class Job(object): def requeue(self): """Requeues job.""" - self.failed_job_registry.requeue(self) + return self.failed_job_registry.requeue(self) def delete(self, pipeline=None, remove_from_queue=True, delete_dependents=False):