Commit 1b5b1c49 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Another small consistency fix with if branches



While looking at the testability of this piece of code, I found another
consistency problem. We have two if branches instead of one, with
elif's.
Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 734a2a7c
......@@ -272,7 +272,7 @@ class ClientOps:
ops = [opcodes.OpCode.LoadOpCode(state) for state in job_def]
return queue.SubmitJob(ops)
if method == luxi.REQ_SUBMIT_MANY_JOBS:
elif method == luxi.REQ_SUBMIT_MANY_JOBS:
logging.info("Received multiple jobs")
(job_defs, ) = args
jobs = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment