@requires_segment_info
def jobnum(pl, segment_info, show_zero=False):
 jobnum = segment_info[u'args'].jobnum
 if ((jobnum is None) or ((not show_zero) and (jobnum == 0))):
  return None
 else:
  return str(jobnum)

@ requires_segment_info def jobnum ( pl , segment_info , show_zero = False ) : jobnum = segment_info [ u'args' ] . jobnum if ( ( jobnum is None ) or ( ( not show_zero ) and ( jobnum == 0 ) ) ) : return None else : return str ( jobnum )
return the number of jobs .