mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Merge branch 'develop' into topic/ExperimentOnDocumentation
Conflicts: ReadMe.md doc/ChangeLog.md doc/ReferenceOfApis.md doc/ReferenceOfClasses.md github/AuthenticatedUser.py github/Authorization.py github/CommitComment.py github/ContentFile.py github/Download.py github/Gist.py github/GistComment.py github/GitRef.py github/Github.py github/Hook.py github/Issue.py github/IssueComment.py github/Label.py github/Milestone.py github/PullRequest.py github/PullRequestComment.py github/Repository.py github/RepositoryKey.py github/Team.py github/UserKey.py setup.py
This commit is contained in:
@@ -74,7 +74,7 @@ class RepositoryKey(github.GithubObject.GithubObject):
|
||||
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/todo>`_
|
||||
:rtype: None
|
||||
"""
|
||||
headers, data = self._requester.requestAndCheck(
|
||||
headers, data = self._requester.requestJsonAndCheck(
|
||||
"DELETE",
|
||||
self.__customUrl,
|
||||
None,
|
||||
@@ -95,7 +95,7 @@ class RepositoryKey(github.GithubObject.GithubObject):
|
||||
post_parameters["title"] = title
|
||||
if key is not github.GithubObject.NotSet:
|
||||
post_parameters["key"] = key
|
||||
headers, data = self._requester.requestAndCheck(
|
||||
headers, data = self._requester.requestJsonAndCheck(
|
||||
"PATCH",
|
||||
self.__customUrl,
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user