Ejemplo n.º 1
0
def jobs(index = None):
    """ See the status of the jobs or return the job on index """
    jbs = Jobs()
    if index is None:
        jbs.getStatuses()
        print jbs
    else:
        return jbs.getJob(index)