aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/shell.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-12 17:27:37 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-12 17:27:37 -0500
commit6e7ce8d1af8c6fcf7d00992b1c8ef0e8c1602479 (patch)
treedc558daff165dff54b9ae65e033ff1e949e8418d /mediagoblin/gmg_commands/shell.py
parentda579dec005834f92fb7d968e14610be9936d9a5 (diff)
downloadmediagoblin-6e7ce8d1af8c6fcf7d00992b1c8ef0e8c1602479.tar.lz
mediagoblin-6e7ce8d1af8c6fcf7d00992b1c8ef0e8c1602479.tar.xz
mediagoblin-6e7ce8d1af8c6fcf7d00992b1c8ef0e8c1602479.zip
mediagoblin.globals->mediagoblin.mg_globals
Diffstat (limited to 'mediagoblin/gmg_commands/shell.py')
-rw-r--r--mediagoblin/gmg_commands/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mediagoblin/gmg_commands/shell.py b/mediagoblin/gmg_commands/shell.py
index 9c0259de..16caf398 100644
--- a/mediagoblin/gmg_commands/shell.py
+++ b/mediagoblin/gmg_commands/shell.py
@@ -17,7 +17,7 @@
import code
-from mediagoblin import globals as mgoblin_globals
+from mediagoblin import mg_globals
from mediagoblin.gmg_commands import util as commands_util
@@ -35,7 +35,7 @@ GNU MediaGoblin shell!
----------------------
Available vars:
- mgoblin_app: instantiated mediagoblin application
- - mgoblin_globals: mediagoblin.globals
+ - mg_globals: mediagoblin.globals
- db: database instance
"""
@@ -50,5 +50,5 @@ def shell(args):
banner=SHELL_BANNER,
local={
'mgoblin_app': mgoblin_app,
- 'mgoblin_globals': mgoblin_globals,
- 'db': mgoblin_globals.database})
+ 'mg_globals': mg_globals,
+ 'db': mg_globals.database})