aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-11-30 09:49:45 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-07 11:31:56 +0100
commit1e46dc2537c5ee706a55876c4dbf86129baafbbf (patch)
treecccab441a90d023ab8bcebef96fa3a40b22f8d49 /mediagoblin/gmg_commands
parent0efe9e2796b6feb722acd075218d934aff5e841e (diff)
downloadmediagoblin-1e46dc2537c5ee706a55876c4dbf86129baafbbf.tar.lz
mediagoblin-1e46dc2537c5ee706a55876c4dbf86129baafbbf.tar.xz
mediagoblin-1e46dc2537c5ee706a55876c4dbf86129baafbbf.zip
Move db.sql.util to db.util
Now that sqlalchemy is providing the database abstractions, there is no need to hide everything in db.sql. sub-modules. It complicates the code and provides a futher layer of indirection. Move the db.sql.util.py to db.util.py and adapt the importers.
Diffstat (limited to 'mediagoblin/gmg_commands')
-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 2c34bb51..95898c08 100644
--- a/mediagoblin/gmg_commands/dbupdate.py
+++ b/mediagoblin/gmg_commands/dbupdate.py
@@ -19,7 +19,7 @@ import logging
from sqlalchemy.orm import sessionmaker
from mediagoblin.db.open import setup_connection_and_db_from_config
-from mediagoblin.db.sql.util import MigrationManager
+from mediagoblin.db.util import MigrationManager
from mediagoblin.init import setup_global_and_app_config
from mediagoblin.tools.common import import_component