Projet

Général

Profil

0001-ctl-fix-typo-in-trigger_jumps-command.patch

Serghei Mihai (congés, retour 15/05), 26 octobre 2016 17:30

Télécharger (1,3 ko)

Voir les différences:

Subject: [PATCH] ctl: fix typo in trigger_jumps command

 wcs/ctl/trigger_jumps.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
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
-