Update GitTag.py

This commit is contained in:
AKFish
2013-08-21 15:52:57 +08:00
parent 1dbc2dd38f
commit c89bebc729
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -472,7 +472,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
post_parameters
)
return github.GitTag.GitTag(self._requester, data, completed=True)
return github.GitTag.GitTag(self._requester, headers, data, completed=True)
def create_git_tree(self, tree, base_tree=github.GithubObject.NotSet):
"""
@@ -1059,7 +1059,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
None
)
return github.GitTag.GitTag(self._requester, data, completed=True)
return github.GitTag.GitTag(self._requester, headers, data, completed=True)
def get_git_tree(self, sha, recursive=github.GithubObject.NotSet):
"""