Revision a9e97393

b/lib/jqueue.py
1166 1166

  
1167 1167
    if job_status not in (constants.JOB_STATUS_QUEUED,
1168 1168
                          constants.JOB_STATUS_WAITLOCK):
1169
      logging.debug("Job %s is no longer in the queue", job.id)
1170
      return (False, "Job %s is no longer in the queue" % job.id)
1169
      logging.debug("Job %s is no longer waiting in the queue", job.id)
1170
      return (False, "Job %s is no longer waiting in the queue" % job.id)
1171 1171

  
1172 1172
    if job_status == constants.JOB_STATUS_QUEUED:
1173 1173
      self.CancelJobUnlocked(job)

Also available in: Unified diff