diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2014-10-20 13:10:42 +0300 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2014-10-20 13:22:52 +0300 |
commit | 3082ac98cdb0cf2ffcb5071a9b979a18a1e74426 (patch) | |
tree | c25bfdc24b69152535cc94db4a571d9e3e51b959 /apscheduler/executors/gevent.py | |
parent | 7947840c0bc6981210bfca46c540f546fa7644cc (diff) | |
download | apscheduler-3082ac98cdb0cf2ffcb5071a9b979a18a1e74426.tar.gz |
Fixed _run_job_error() being called with the wrong number of arguments in most executors
Diffstat (limited to 'apscheduler/executors/gevent.py')
-rw-r--r-- | apscheduler/executors/gevent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apscheduler/executors/gevent.py b/apscheduler/executors/gevent.py index 6281cdc..9f4db2f 100644 --- a/apscheduler/executors/gevent.py +++ b/apscheduler/executors/gevent.py @@ -22,7 +22,7 @@ class GeventExecutor(BaseExecutor): try: events = greenlet.get() except: - self._run_job_error(job.id, *sys.exc_info()) + self._run_job_error(job.id, *sys.exc_info()[1:]) else: self._run_job_success(job.id, events) |