Update Download.py

This commit is contained in:
AKFish
2013-08-21 15:33:25 +08:00
parent 0c13da4592
commit c15cb6575b
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -367,7 +367,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
post_parameters
)
return github.Download.Download(self._requester, data, completed=True)
return github.Download.Download(self._requester, headers, data, completed=True)
def create_git_blob(self, content, encoding):
"""
@@ -948,7 +948,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
None
)
return github.Download.Download(self._requester, data, completed=True)
return github.Download.Download(self._requester, headers, data, completed=True)
def get_downloads(self):
"""