aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/assetlink.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-08-12 11:13:00 -0500
committerRodney Ewing <ewing.rj@gmail.com>2013-08-16 15:30:17 -0700
commitff12ecef347d0fdb29534eb2bc0390cf183c10ba (patch)
treedd027adea346e60d35383131b380778ce44676cb /mediagoblin/gmg_commands/assetlink.py
parent98d1fa3beddfc602c541fe7f538ca882ad6c7e9c (diff)
downloadmediagoblin-ff12ecef347d0fdb29534eb2bc0390cf183c10ba.tar.lz
mediagoblin-ff12ecef347d0fdb29534eb2bc0390cf183c10ba.tar.xz
mediagoblin-ff12ecef347d0fdb29534eb2bc0390cf183c10ba.zip
Revert "use parser.parse_known_args() instead of parser.parse_args()"
This reverts commit 029e779c468ba1a6bfd893679cfaae7f418f45dd. (and a bit more!) This wasn't needed anymore because we did a "rest" capture and passed that over to the reprocess run command. Conflicts: mediagoblin/gmg_commands/assetlink.py mediagoblin/gmg_commands/dbupdate.py mediagoblin/gmg_commands/import_export.py mediagoblin/gmg_commands/users.py
Diffstat (limited to 'mediagoblin/gmg_commands/assetlink.py')
-rw-r--r--mediagoblin/gmg_commands/assetlink.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/assetlink.py b/mediagoblin/gmg_commands/assetlink.py
index dff737ff..148ebe9e 100644
--- a/mediagoblin/gmg_commands/assetlink.py
+++ b/mediagoblin/gmg_commands/assetlink.py
@@ -138,8 +138,7 @@ def assetlink(args):
"""
Link the asset directory of the currently installed theme and plugins
"""
- commands_util.check_unrecognized_args(args)
- mgoblin_app = commands_util.setup_app(args[0])
+ mgoblin_app = commands_util.setup_app(args)
app_config = mg_globals.app_config
# link theme