jqueue, CancelJob: Check status only once per call
authorMichael Hanselmann <hansmi@google.com>
Thu, 7 Oct 2010 14:58:00 +0000 (16:58 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 7 Oct 2010 15:10:44 +0000 (17:10 +0200)
commit86b16e9dec879ae9228cc766b58b6573b0cfa5f0
tree4eb0927a2f27e1f8e378761987a9ac952594e10e
parentebdefe952ef714303c9f8f067c9dad9962328d99
jqueue, CancelJob: Check status only once per call

This simplifies the code a bit--the status is only checked once.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/jqueue.py