forced does not exist; data["forced"] instead

This commit is contained in:
jesopo 2019-06-27 11:01:08 +01:00
parent 4f5af6f221
commit d7c4e9f67b

View file

@ -187,8 +187,8 @@ class GitHub(object):
range_url = self._short_url(
COMMIT_RANGE_URL % (full_name, first_id, last_id))
return self._format_push(branch, author, data["commits"], forced,
range_url)
return self._format_push(branch, author, data["commits"],
data["forced"], range_url)
def _format_push(self, branch, author, commits, forced, range_url):
outputs = []