'sucess_message' -> 'success_message'

This commit is contained in:
jesopo 2019-06-24 22:49:44 +01:00
parent 010f594774
commit 882bbdf0ff

View file

@ -186,7 +186,7 @@ class Module(ModuleManager.BaseModule):
else:
new_events = [e.lower() for e in event["args_split"][2:]]
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":
if not existing_hook:
raise utils.EventError("No hook found for %s" % hook_name)