def update_jobids(self):
    for job in self.jobs:
        if (job not in self._jobid):
            self._jobid[job] = len(self._jobid)
def update_jobids(self):
    for job in self.jobs:
        if (job not in self._jobid):
            self._jobid[job] = len(self._jobid)