main
Vincent Driessen 13 years ago
parent 28216cf63a
commit 6bc173f122

@ -35,7 +35,7 @@ def requeue_job(job_id):
"""
from .queue import get_failed_queue
fq = get_failed_queue()
fq.requeue_job(job_id)
fq.requeue(job_id)
class Job(object):

@ -256,7 +256,7 @@ class FailedQueue(Queue):
return self.enqueue_job(job, set_meta_data=False)
def requeue(self, job_id):
"""Requeues the given job ID."""
"""Requeues the job with the given job ID."""
try:
job = Job.fetch(job_id)
except NoSuchJobError:

Loading…
Cancel
Save