summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragronholm <devnull@localhost>2010-09-06 03:24:27 +0300
committeragronholm <devnull@localhost>2010-09-06 03:24:27 +0300
commit4e89ed2dfd42001abefe574b71021d35436d5bf6 (patch)
tree68949ce01238db9fcc7da778cb2046ae2cacad07
parent74b980db8ca05afa42310df6eec757f05d6a75f8 (diff)
downloadapscheduler-4e89ed2dfd42001abefe574b71021d35436d5bf6.tar.gz
Swapped positions of the "url" and "engine" arguments
-rw-r--r--apscheduler/jobstores/sqlalchemy_store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apscheduler/jobstores/sqlalchemy_store.py b/apscheduler/jobstores/sqlalchemy_store.py
index 285aa5c..6d2eb18 100644
--- a/apscheduler/jobstores/sqlalchemy_store.py
+++ b/apscheduler/jobstores/sqlalchemy_store.py
@@ -33,7 +33,7 @@ def session(func):
class SQLAlchemyJobStore(JobStore):
stores_persistent = True
- def __init__(self, engine=None, url=None, tablename=None):
+ def __init__(self, url=None, engine=None, tablename=None):
if engine:
self.url = engine.url
elif url: