Add job id transformation/check to Luxi Python client
authorHrvoje Ribicic <riba@google.com>
Wed, 15 Jan 2014 13:48:51 +0000 (13:48 +0000)
committerHrvoje Ribicic <riba@google.com>
Mon, 20 Jan 2014 12:11:45 +0000 (13:11 +0100)
commit7f97eb938ebd9ebd94b0a5d880e05836c8a7fdc4
tree5661691b192aa98afeaf67b64a1900633b00e0db
parent00b72896502f9a50350b74cdb2f193ac58450118
Add job id transformation/check to Luxi Python client

This patch adds checks to the Luxi client, making sure that job ids
are converted from strings to ints before being passed on, or that an
error is reported.

Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/luxi.py