Migrate as much as possible to pip and requirements.txt

This commit is contained in:
Jamie Magee
2015-11-25 19:52:26 +01:00
parent eaded8dfd9
commit 982594a4a5
1195 changed files with 81 additions and 196887 deletions

View File

@@ -1,19 +0,0 @@
import sys
from apscheduler.executors.base import BaseExecutor, run_job
class DebugExecutor(BaseExecutor):
"""
A special executor that executes the target callable directly instead of deferring it to a thread or process.
Plugin alias: ``debug``
"""
def _do_submit_job(self, job, run_times):
try:
events = run_job(job, job._jobstore_alias, run_times, self._logger.name)
except:
self._run_job_error(job.id, *sys.exc_info()[1:])
else:
self._run_job_success(job.id, events)