def print_cronjob_list(cronjobs):
    print 'Cronjobs'
    if has_str_format:
        print ' {0:3} {1:11}'.format('nr.', 'job_id')
        for count, cronjob in enumerate(cronjobs):
            print ' {0:3} {1:11}'.format(count + 1, cronjob['job_id'])
    else:
        print ' %-3ls %-11ls' % ('nr.', 'job_id')
        for count, cronjob in enumerate(cronjobs):
            job_id = cronjob['wrk_id']
            print ' %-3ls %-11ls' % (count + 1, job_id)
dataset/ETHPy150Open cloudControl/cctrl/cctrl/output.py/print_cronjob_list/original