jqueue: Fix error when WaitForJobChange gets invalid ID
authorMichael Hanselmann <hansmi@google.com>
Fri, 31 Jul 2009 14:48:27 +0000 (16:48 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 3 Aug 2009 09:22:36 +0000 (11:22 +0200)
commit6e237482804931b883790a2e6e439565ec999056
tree2d0d748706ba25173ba090042c0be8980bafed6a
parenta9e973936f4b634e1886bbc5250c08f314cbf59f
jqueue: Fix error when WaitForJobChange gets invalid ID

When JobQueue.WaitForJobChange gets an invalid or no longer existing job ID it
tries to return job_info and log_entries, both of which aren't defined yet.

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