Update GitRef.py

This commit is contained in:
AKFish
2013-08-21 15:51:12 +08:00
parent b43de50dc4
commit 1dbc2dd38f
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -441,7 +441,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
post_parameters
)
return github.GitRef.GitRef(self._requester, data, completed=True)
return github.GitRef.GitRef(self._requester, headers, data, completed=True)
def create_git_tag(self, tag, message, object, type, tagger=github.GithubObject.NotSet):
"""
@@ -1032,7 +1032,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
None
)
return github.GitRef.GitRef(self._requester, data, completed=True)
return github.GitRef.GitRef(self._requester, headers, data, completed=True)
def get_git_refs(self):
"""