aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-27 11:08:18 +0100
committerGravatar jesopo2019-06-27 11:08:18 +0100
commite1f34c4b8ac599d6fe5c234f70f190add5c82b78 (patch)
tree90a6a42c24d69be66a81194efeb090be59381cdb
parentpass single-commit url in to _format_push (diff)
signature
shortify push range url
-rw-r--r--modules/git_webhooks/github.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py
index e2581ba2..09f5ef92 100644
--- a/modules/git_webhooks/github.py
+++ b/modules/git_webhooks/github.py
@@ -215,7 +215,8 @@ class GitHub(object):
% (author, forced_str, hash_colored, branch, message, url))
else:
outputs.append("%s %spushed %d commits to %s - %s"
- % (author, forced_str, len(commits), branch, range_url))
+ % (author, forced_str, len(commits), branch,
+ self._short_url(range_url)))
return outputs