Private GIT

Skip to content
Snippets Groups Projects
Commit 0f82bb05 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Fix the github api wrapper to deal with non-master branches correctly

parent 82c54f76
Branches
Tags
No related merge requests found
...@@ -56,4 +56,4 @@ class GitHub(object): ...@@ -56,4 +56,4 @@ class GitHub(object):
Returns a deserialized json object containing the commit info. See http://developer.github.com/v3/repos/commits/ Returns a deserialized json object containing the commit info. See http://developer.github.com/v3/repos/commits/
""" """
return self._access_API(['repos', user, repo, 'commits'], {'per_page': 100, 'branch': branch}) return self._access_API(['repos', user, repo, 'commits'], {'per_page': 100, 'sha': branch})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment