aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/dbupdate.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-11-30 09:32:25 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-25 20:09:43 +0100
commit6eddc3b75e7cdf1e4d4015aeeccff6e250b10558 (patch)
treed024ef632e3fbf11c6cc716df6e9c58be6c0e0b3 /mediagoblin/gmg_commands/dbupdate.py
parentbc142abc5592975c08319416d0af12c108504887 (diff)
downloadmediagoblin-6eddc3b75e7cdf1e4d4015aeeccff6e250b10558.tar.lz
mediagoblin-6eddc3b75e7cdf1e4d4015aeeccff6e250b10558.tar.xz
mediagoblin-6eddc3b75e7cdf1e4d4015aeeccff6e250b10558.zip
Move db.sql.open to db.open
Now that mongo has been ripped out and sqlalchemy is already providing the database abstraction, there is no need to hide everything in the sql module. Transition db.sql.open to db.open and adapt all direct importers.
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
-rw-r--r--mediagoblin/gmg_commands/dbupdate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py
index 4b301178..203179fd 100644
--- a/mediagoblin/gmg_commands/dbupdate.py
+++ b/mediagoblin/gmg_commands/dbupdate.py
@@ -18,7 +18,7 @@ import logging
from sqlalchemy.orm import sessionmaker
-from mediagoblin.db.sql.open import setup_connection_and_db_from_config
+from mediagoblin.db.open import setup_connection_and_db_from_config
from mediagoblin.db.sql.util import MigrationManager
from mediagoblin.init import setup_global_and_app_config
from mediagoblin.tools.common import import_component