diff options
| author | 2019-06-05 11:40:23 +0100 | |
|---|---|---|
| committer | 2019-06-05 11:40:23 +0100 | |
| commit | 6b7705a0ea6ce96f17342e957c3464b5c2373c18 (patch) | |
| tree | b591d5335034fea23b12d8e2054aa70cf593c424 /modules/github | |
| parent | Update CHANGELOG (diff) | |
| signature | ||
Fix commit_comment format string and show url
Diffstat (limited to 'modules/github')
| -rw-r--r-- | modules/github/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 63d774a8..d76762d3 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -562,7 +562,8 @@ class Module(ModuleManager.BaseModule): commit = self._short_hash(data["comment"]["commit_id"]) commenter = utils.irc.bold(data["comment"]["user"]["login"]) url = self._short_url(data["comment"]["html_url"]) - return ["[commit/%s] %s commented" % (commit, commenter, action)] + return ["[commit/%s] %s %s a comment - %s" % (commit, commenter, + action, url)] def pull_request(self, full_name, data): number = utils.irc.color("#%s" % data["pull_request"]["number"], |
