diff options
| author | 2019-07-02 07:31:26 +0100 | |
|---|---|---|
| committer | 2019-07-02 07:31:26 +0100 | |
| commit | 93b455d5b872af3f4e549d1b55d9ff3a769b97ab (patch) | |
| tree | dfb1552af9a74bba51f01cb48a8606d4788a5ed7 /modules/git_webhooks | |
| parent | 'patern' -> 'pattern' (diff) | |
| signature | ||
Don't double-shorten `push` range urls
Diffstat (limited to 'modules/git_webhooks')
| -rw-r--r-- | modules/git_webhooks/github.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py index 5d1420b3..8072a51e 100644 --- a/modules/git_webhooks/github.py +++ b/modules/git_webhooks/github.py @@ -193,8 +193,7 @@ class GitHub(object): if len(data["commits"]): first_id = data["before"] last_id = data["commits"][-1]["id"] - range_url = self._short_url( - COMMIT_RANGE_URL % (full_name, first_id, last_id)) + range_url = COMMIT_RANGE_URL % (full_name, first_id, last_id) single_url = COMMIT_URL % (full_name, "%s") |
