aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/reprocess.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-08-12 11:19:20 -0500
committerRodney Ewing <ewing.rj@gmail.com>2013-08-16 15:30:17 -0700
commitde332ab9f5c56589349494d1ccbbf2cfc65424ca (patch)
treed452833bcdad1b0ccd8898a8a904cc1bc35fb4ea /mediagoblin/gmg_commands/reprocess.py
parentff12ecef347d0fdb29534eb2bc0390cf183c10ba (diff)
downloadmediagoblin-de332ab9f5c56589349494d1ccbbf2cfc65424ca.tar.lz
mediagoblin-de332ab9f5c56589349494d1ccbbf2cfc65424ca.tar.xz
mediagoblin-de332ab9f5c56589349494d1ccbbf2cfc65424ca.zip
Trying to fix the bug that's happening to rodney757 but not to me ;)
Diffstat (limited to 'mediagoblin/gmg_commands/reprocess.py')
-rw-r--r--mediagoblin/gmg_commands/reprocess.py9
1 files 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',