Typo, 'all_hook' -> 'all_hooks' (github.py)
This commit is contained in:
parent
0414ed34e2
commit
b7864ffb41
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,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
|
||||||
event["target"].set_setting("github-hooks", all_hook)
|
event["target"].set_setting("github-hooks", all_hooks)
|
||||||
event["stdout"].write("Updated events for hook %s" % hook)
|
event["stdout"].write("Updated events for hook %s" % hook)
|
||||||
|
|
||||||
@utils.hook("api.post.github")
|
@utils.hook("api.post.github")
|
||||||
|
|
Loading…
Reference in a new issue