aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2016-03-02 16:08:12 -0800
committerChristopher Allan Webber <cwebber@dustycloud.org>2016-03-02 16:08:12 -0800
commita48736fc09db8ebe2e90a2e0b7bbd5fbf4083f36 (patch)
tree7989ea63edfe09e5e3d3031d5438e9c557deded5
parentaf6b89eafe4bce418737c66ad8ebef5aa297f378 (diff)
downloadmediagoblin-a48736fc09db8ebe2e90a2e0b7bbd5fbf4083f36.tar.lz
mediagoblin-a48736fc09db8ebe2e90a2e0b7bbd5fbf4083f36.tar.xz
mediagoblin-a48736fc09db8ebe2e90a2e0b7bbd5fbf4083f36.zip
typo fix: Set sqlalchemy.url, not qlalchemy.url
-rw-r--r--mediagoblin/db/migration_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/migration_tools.py b/mediagoblin/db/migration_tools.py
index a28b3db0..bd242894 100644
--- a/mediagoblin/db/migration_tools.py
+++ b/mediagoblin/db/migration_tools.py
@@ -47,7 +47,7 @@ class AlembicMigrationManager(object):
self.alembic_cfg = Config(alembic_cfg_path)
self.alembic_cfg.attributes["session"] = self.session
- self.alembic_cfg.set_main_option("qlalchemy.url", str(self.engine.url))
+ self.alembic_cfg.set_main_option("sqlalchemy.url", str(self.engine.url))
def get_current_revision(self):
context = MigrationContext.configure(self.session.bind)