def _agent_batch_job_ended(self, jobid, result, agent_id=None): """ Custom _job_ended with more infos """ if agent_id is not None: self._running_on_agent[agent_id].remove(jobid) AbstractJobManager._batch_job_ended(self, jobid, result)