diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2018-01-03 20:53:20 +0200 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2018-01-03 20:53:20 +0200 |
commit | b9c2bd6aa328e72860c13e61fc4b5bd2c4d8d51c (patch) | |
tree | 8e08b453ea95f42d640cbf7f026537ffaec919cb | |
parent | e24e29f6b0b621e7a9d20d3aee6e5941ce118726 (diff) | |
download | apscheduler-b9c2bd6aa328e72860c13e61fc4b5bd2c4d8d51c.tar.gz |
Fixed DeprecationWarning for get_jobs()
Fixes #266.
-rw-r--r-- | apscheduler/schedulers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apscheduler/schedulers/base.py b/apscheduler/schedulers/base.py index ab705c3..d08558f 100644 --- a/apscheduler/schedulers/base.py +++ b/apscheduler/schedulers/base.py @@ -546,7 +546,7 @@ class BaseScheduler(six.with_metaclass(ABCMeta)): """ if pending is not None: warnings.warn('The "pending" option is deprecated -- get_jobs() always returns ' - 'pending jobs if the scheduler has been started and scheduled jobs ' + 'scheduled jobs if the scheduler has been started and pending jobs ' 'otherwise', DeprecationWarning) with self._jobstores_lock: |