Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Mar 22, 2012
1 parent 28216cf commit 6bc173f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rq/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion rq/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def quarantine(self, job, exc_info):
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:
Expand Down

0 comments on commit 6bc173f

Please sign in to comment.