diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-03-17 12:31:11 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-03-17 12:31:11 -0500 |
commit | 431811eb36d9b1f5e754886481322eb2848e5dd0 (patch) | |
tree | d0c72586d80c3b42e7fe64f4436039f38b82134d /mediagoblin/gmg_commands/mongosql.py | |
parent | 416b439fc883a570902edd094b44f310d66e849c (diff) | |
download | mediagoblin-431811eb36d9b1f5e754886481322eb2848e5dd0.tar.lz mediagoblin-431811eb36d9b1f5e754886481322eb2848e5dd0.tar.xz mediagoblin-431811eb36d9b1f5e754886481322eb2848e5dd0.zip |
Mongosql imports made celery get set up before we wanted it via ./bin/gmg commands
Just moved the import into the actual function. That resolved the issue!
Diffstat (limited to 'mediagoblin/gmg_commands/mongosql.py')
-rw-r--r-- | mediagoblin/gmg_commands/mongosql.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/mongosql.py b/mediagoblin/gmg_commands/mongosql.py index a25263e2..81a2830c 100644 --- a/mediagoblin/gmg_commands/mongosql.py +++ b/mediagoblin/gmg_commands/mongosql.py @@ -14,12 +14,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -from mediagoblin.db.sql.convert import run_conversion - def mongosql_parser_setup(subparser): pass def mongosql(args): + from mediagoblin.db.sql.convert import run_conversion run_conversion(args.conf_file) |