Don't double-shorten push
range urls
This commit is contained in:
parent
d671d8b470
commit
93b455d5b8
1 changed files with 1 additions and 2 deletions
|
@ -193,8 +193,7 @@ class GitHub(object):
|
||||||
if len(data["commits"]):
|
if len(data["commits"]):
|
||||||
first_id = data["before"]
|
first_id = data["before"]
|
||||||
last_id = data["commits"][-1]["id"]
|
last_id = data["commits"][-1]["id"]
|
||||||
range_url = self._short_url(
|
range_url = COMMIT_RANGE_URL % (full_name, first_id, last_id)
|
||||||
COMMIT_RANGE_URL % (full_name, first_id, last_id))
|
|
||||||
|
|
||||||
single_url = COMMIT_URL % (full_name, "%s")
|
single_url = COMMIT_URL % (full_name, "%s")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue