From de332ab9f5c56589349494d1ccbbf2cfc65424ca Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 12 Aug 2013 11:19:20 -0500 Subject: [PATCH] Trying to fix the bug that's happening to rodney757 but not to me ;) --- mediagoblin/gmg_commands/reprocess.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mediagoblin/gmg_commands/reprocess.py b/mediagoblin/gmg_commands/reprocess.py index 10ab50ab..4678ca6f 100644 --- a/mediagoblin/gmg_commands/reprocess.py +++ b/mediagoblin/gmg_commands/reprocess.py @@ -28,6 +28,11 @@ from mediagoblin.processing import ( def reprocess_parser_setup(subparser): + subparser.add_argument( + '--celery', + action='store_true', + help="Don't process eagerly, pass off to celery") + subparsers = subparser.add_subparsers(dest="reprocess_subcommand") ################### @@ -66,10 +71,6 @@ def reprocess_parser_setup(subparser): '--thumbnails', action="store_true", help="Regenerate thumbnails for all processed media") - run_parser.add_argument( - '--celery', - action='store_true', - help="Don't process eagerly, pass off to celery") run_parser.add_argument( 'media_id', -- 2.25.1