diff options
| author | 2019-06-24 17:41:29 +0100 | |
|---|---|---|
| committer | 2019-06-24 17:41:29 +0100 | |
| commit | 75e8a64ff9b563b8d1176cdaadcc4837205f8764 (patch) | |
| tree | 5c9575d401fbc38d599914e7a5c055735e999c8d /modules/git_webhooks/gitea.py | |
| parent | 'forced' pushes do not exist in gitea webhooks (diff) | |
| signature | ||
gitea `create` hooks have no url
Diffstat (limited to 'modules/git_webhooks/gitea.py')
| -rw-r--r-- | modules/git_webhooks/gitea.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/git_webhooks/gitea.py b/modules/git_webhooks/gitea.py index 85d1e7fd..980dbc7d 100644 --- a/modules/git_webhooks/gitea.py +++ b/modules/git_webhooks/gitea.py @@ -215,8 +215,7 @@ class Gitea(object): ref_color = utils.irc.color(ref, colors.COLOR_BRANCH) type = data["ref_type"] sender = utils.irc.bold(data["sender"]["login"]) - url = self._short_url(CREATE_URL % (full_name, ref)) - return ["%s created a %s: %s - %s" % (sender, type, ref_color, url)] + return ["%s created a %s: %s" % (sender, type, ref_color)] def delete(self, full_name, data): ref = data["ref"] |
