aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/shell.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2011-10-23 21:33:52 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2011-10-23 21:33:52 +0200
commit15ac1458edfe703688cfe1e5eb36a2e90f5194c6 (patch)
tree00790769a85acd6e358e9fc5e5dfb6ddf757a1fe /mediagoblin/gmg_commands/shell.py
parent9043e7a012c0b01a993e04831180005ff36730d6 (diff)
downloadmediagoblin-15ac1458edfe703688cfe1e5eb36a2e90f5194c6.tar.lz
mediagoblin-15ac1458edfe703688cfe1e5eb36a2e90f5194c6.tar.xz
mediagoblin-15ac1458edfe703688cfe1e5eb36a2e90f5194c6.zip
Make gmg's -cf option a global option
All gmg's subcommands used to have a -cf option to set the config file. Instead make this a gmg global option. This means: bin/gmg migrate -cf mediagoblin_2.ini gets bin/gmg -cf mediagoblin_2.ini migrate
Diffstat (limited to 'mediagoblin/gmg_commands/shell.py')
-rw-r--r--mediagoblin/gmg_commands/shell.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/shell.py b/mediagoblin/gmg_commands/shell.py
index 408028d0..910560a0 100644
--- a/mediagoblin/gmg_commands/shell.py
+++ b/mediagoblin/gmg_commands/shell.py
@@ -19,11 +19,10 @@ import code
from mediagoblin import mg_globals
from mediagoblin.gmg_commands import util as commands_util
-from mediagoblin.gmg_commands.util import option_add_conffile
def shell_parser_setup(subparser):
- option_add_conffile(subparser)
+ pass
SHELL_BANNER = """\