0001-ctl-fix-typo-in-trigger_jumps-command.patch
wcs/ctl/trigger_jumps.py | ||
---|---|---|
59 | 59 |
if not sub_options.all_formdata and not args: |
60 | 60 |
exit('missing input json file(s) (or --all-formdata flag)') |
61 | 61 |
if not sub_options.vhost: |
62 |
exit('you must specificy --vhost')
|
|
62 |
exit('you must specify --vhost') |
|
63 | 63 |
if not sub_options.trigger: |
64 |
exit('you must specificy --trigger')
|
|
64 |
exit('you must specify --trigger') |
|
65 | 65 |
if sub_options.formdef_id and sub_options.workflow_id: |
66 | 66 |
exit('specify --workflow-id or --formdef-id') |
67 | 67 | |
... | ... | |
149 | 149 |
print 'formdata %s jumps to status %s' % (formdata, jump_to) |
150 | 150 |
jump_and_perform(formdata, jump_to, row.get('data')) |
151 | 151 |
break # next formdata |
152 | ||
153 |
- |