From a9e973936f4b634e1886bbc5250c08f314cbf59f Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Fri, 31 Jul 2009 14:55:45 +0200 Subject: [PATCH] jqueue: Update message for cancelling running job Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/jqueue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jqueue.py b/lib/jqueue.py index 20fa1c7b9..ff903ea07 100644 --- a/lib/jqueue.py +++ b/lib/jqueue.py @@ -1166,8 +1166,8 @@ class JobQueue(object): if job_status not in (constants.JOB_STATUS_QUEUED, constants.JOB_STATUS_WAITLOCK): - logging.debug("Job %s is no longer in the queue", job.id) - return (False, "Job %s is no longer in the queue" % job.id) + logging.debug("Job %s is no longer waiting in the queue", job.id) + return (False, "Job %s is no longer waiting in the queue" % job.id) if job_status == constants.JOB_STATUS_QUEUED: self.CancelJobUnlocked(job) -- GitLab