aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/__init__.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-10-01 21:27:36 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-10-01 21:27:36 -0500
commitb43b17fc2686f5524413a66f8e98f3ab0cc11a60 (patch)
tree36fb9cf3155a2ff715b1e93f29be6a17cb2113e9 /mediagoblin/gmg_commands/__init__.py
parente27396802caaab9a939c56d19c991339157c493f (diff)
parent91e42c467d898ef70dec2d2d34e4173ea771d2ed (diff)
downloadmediagoblin-b43b17fc2686f5524413a66f8e98f3ab0cc11a60.tar.lz
mediagoblin-b43b17fc2686f5524413a66f8e98f3ab0cc11a60.tar.xz
mediagoblin-b43b17fc2686f5524413a66f8e98f3ab0cc11a60.zip
Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux'
Conflicts: mediagoblin/util.py
Diffstat (limited to 'mediagoblin/gmg_commands/__init__.py')
-rw-r--r--mediagoblin/gmg_commands/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mediagoblin/gmg_commands/__init__.py b/mediagoblin/gmg_commands/__init__.py
index 0071c65b..92ae840e 100644
--- a/mediagoblin/gmg_commands/__init__.py
+++ b/mediagoblin/gmg_commands/__init__.py
@@ -16,7 +16,7 @@
import argparse
-from mediagoblin import util as mg_util
+from mediagoblin.tools.common import import_component
SUBCOMMAND_MAP = {
@@ -67,8 +67,8 @@ def main_cli():
else:
subparser = subparsers.add_parser(command_name)
- setup_func = mg_util.import_component(command_struct['setup'])
- exec_func = mg_util.import_component(command_struct['func'])
+ setup_func = import_component(command_struct['setup'])
+ exec_func = import_component(command_struct['func'])
setup_func(subparser)