Switch gnt-debug submit-job to JobExecutor
authorIustin Pop <iustin@google.com>
Sat, 18 Jul 2009 23:51:04 +0000 (01:51 +0200)
committerIustin Pop <iustin@google.com>
Sun, 19 Jul 2009 12:03:17 +0000 (14:03 +0200)
commitb59252feb90e3f6c3754c5e464dc28c895ac0c2b
treeb9b28ca44a8fd8660e734c7d15684a14f7863891
parent3d2ca95df350db595b6906a4a150adba4f3f5ed2
Switch gnt-debug submit-job to JobExecutor

Currently gnt-debug submits jobs individually, but in 2.1 JobExecutor
uses the optimized SubmitManyJobs luxi call and as such should be used
whenever multiple jobs need to be submitted.

This patch converts gnt-debug submit-job to use it and also removes an
extra empty line in the JobExecutor class.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cli.py
scripts/gnt-debug