jqueue: When auto-archiving jobs, calculate job status only once
authorMichael Hanselmann <hansmi@google.com>
Thu, 18 Dec 2008 16:38:09 +0000 (16:38 +0000)
committerMichael Hanselmann <hansmi@google.com>
Thu, 18 Dec 2008 16:38:09 +0000 (16:38 +0000)
commit78d12585b49b6831e43be5c3e27cfcc47a01345b
treec87a782f9b2c2c120bf99106e32ea60d0a260129
parent58b22b6e77a87146ef7e6048b69112df3b62e9e6
jqueue: When auto-archiving jobs, calculate job status only once

This is done by passing the job object to _ArchiveJobUnlocked instead
of only the job ID. Also return whether job was actually archived.

Reviewed-by: ultrotter
lib/jqueue.py