commit_comment
events have commit_id
in comment
, not in the root data (github)
This commit is contained in:
parent
7dd1eca7ae
commit
d013703705
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
def commit_comment(self, full_name, data):
|
def commit_comment(self, full_name, data):
|
||||||
action = data["action"]
|
action = data["action"]
|
||||||
commit = data["commit_id"][:8]
|
commit = data["comment"]["commit_id"][:8]
|
||||||
commenter = utils.irc.bold(data["comment"]["user"]["login"])
|
commenter = utils.irc.bold(data["comment"]["user"]["login"])
|
||||||
url = self._short_url(data["comment"]["html_url"])
|
url = self._short_url(data["comment"]["html_url"])
|
||||||
return ["[commit/%s] %s commented" % (commit, commenter, action)]
|
return ["[commit/%s] %s commented" % (commit, commenter, action)]
|
||||||
|
|
Loading…
Reference in a new issue