示例#1
0
文件: mcp.py 项目: Roguelazer/Tron
    def remove_job(self, job_name):
        if job_name not in self.jobs:
            raise ValueError("Job %s unknown", job_name)

        job = self.jobs.pop(job_name)

        job.disable()
示例#2
0
文件: mcp.py 项目: Roguelazer/Tron
 def disable_job(self, job):
     job.disable()
示例#3
0
 def disable_job(self, job):
     job.disable()