Revision 76b62028 lib/client/gnt_debug.py
b/lib/client/gnt_debug.py | ||
---|---|---|
312 | 312 |
result = cl.SubmitManyJobs(jobs) |
313 | 313 |
if not (len(result) == 2 and |
314 | 314 |
compat.all(len(i) == 2 for i in result) and |
315 |
compat.all(isinstance(i[1], basestring) for i in result) and |
|
315 |
isinstance(result[0][1], int) and |
|
316 |
isinstance(result[1][1], basestring) and |
|
316 | 317 |
result[0][0] and not result[1][0]): |
317 | 318 |
raise errors.OpExecError("Submitting multiple jobs did not work as" |
318 | 319 |
" expected, result %s" % result) |
Also available in: Unified diff