aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-11-29 17:23:28 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-25 20:06:03 +0100
commitbc142abc5592975c08319416d0af12c108504887 (patch)
tree45d2d0339768ca78b3bef37bb9c887e932470091 /mediagoblin/app.py
parent351fd95fff98d389711a1aa9cc3ba5d661a9b433 (diff)
downloadmediagoblin-bc142abc5592975c08319416d0af12c108504887.tar.lz
mediagoblin-bc142abc5592975c08319416d0af12c108504887.tar.xz
mediagoblin-bc142abc5592975c08319416d0af12c108504887.zip
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
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index 936a354f..c1636693 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -78,7 +78,7 @@ class MediaGoblinApp(object):
setup_plugins()
# Set up the database
- self.connection, self.db = setup_database()
+ self.db = setup_database()
# Register themes
self.theme_registry, self.current_theme = register_themes(app_config)