From bc142abc5592975c08319416d0af12c108504887 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 29 Nov 2012 17:23:28 +0100 Subject: RIP out mongo Since sqlalchemy is providing our database abstraction and we have moved away from Mongo as the underlying database, it is now time to simplify things and rip out mongo. This provides the bulk of the changes, and can stand on its own. There are some followup tasks that can be done, such as removing now unneeded abstraction layers, e.g. db.sql.fake.py --- mediagoblin/db/sql/open.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediagoblin/db/sql/open.py') diff --git a/mediagoblin/db/sql/open.py b/mediagoblin/db/sql/open.py index 9db21c56..801c92ea 100644 --- a/mediagoblin/db/sql/open.py +++ b/mediagoblin/db/sql/open.py @@ -71,7 +71,7 @@ def setup_connection_and_db_from_config(app_config): # logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO) Session.configure(bind=engine) - return "dummy conn", DatabaseMaster(engine) + return DatabaseMaster(engine) def check_db_migrations_current(db): -- cgit v1.2.3