Loading ccnode/jobs.py +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class JobManager(object): def cancel(self, job_id): """Cancel a job.""" self.jobs[job_id].running = False self.jobs[job_id].stop() def remove(self, job): return self.jobs.pop(job.id) Loading Loading
ccnode/jobs.py +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class JobManager(object): def cancel(self, job_id): """Cancel a job.""" self.jobs[job_id].running = False self.jobs[job_id].stop() def remove(self, job): return self.jobs.pop(job.id) Loading