This commit is contained in:
Enix Yu
2016-06-27 09:56:39 +08:00
parent 19f4d0af30
commit a7929ac5c4
+1 -1
View File
@@ -1270,7 +1270,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
input=put_parameters
)
return {'content': github.ContentFile.ContentFile(self._requester, headers['content'], data, completed=True),
return {'content': github.ContentFile.ContentFile(self._requester, headers, data['content'], completed=True),
'commit': github.Commit.Commit(self._requester, headers, data['commit'], completed=True)}
def update_file(self, path, message, content, sha,