'sucess_message' -> 'success_message'
This commit is contained in:
parent
010f594774
commit
882bbdf0ff
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
else:
|
else:
|
||||||
new_events = [e.lower() for e in event["args_split"][2:]]
|
new_events = [e.lower() for e in event["args_split"][2:]]
|
||||||
all_hooks[existing_hook]["events"] = new_events
|
all_hooks[existing_hook]["events"] = new_events
|
||||||
sucess_message = "Updated events for hook %s" % hook_name
|
success_message = "Updated events for hook %s" % hook_name
|
||||||
elif subcommand == "branches":
|
elif subcommand == "branches":
|
||||||
if not existing_hook:
|
if not existing_hook:
|
||||||
raise utils.EventError("No hook found for %s" % hook_name)
|
raise utils.EventError("No hook found for %s" % hook_name)
|
||||||
|
|
Loading…
Reference in a new issue