Revision bdfd7802 lib/opcodes.py

b/lib/opcodes.py
429 429
TNoRelativeJobDependencies = _BuildJobDepCheck(False)
430 430

  
431 431
#: List of submission status and job ID as returned by C{SubmitManyJobs}
432
TJobIdList = ht.TListOf(ht.TItems([ht.TBool, ht.TOr(ht.TString, ht.TJobId)]))
432
TJobIdList = \
433
  ht.TListOf(ht.TAnd(ht.TIsLength(2),
434
                     ht.TItems([ht.TBool, ht.TOr(ht.TString, ht.TJobId)])))
433 435

  
434 436
#: Result containing only list of submitted jobs
435 437
TJobIdListOnly = ht.TStrictDict(True, True, {

Also available in: Unified diff