Rename methods in Requester

This commit is contained in:
Vincent Jacques
2013-02-05 19:39:03 +01:00
parent f024950884
commit e9be857089
26 changed files with 155 additions and 155 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ class UserKey(github.GithubObject.GithubObject):
return self._NoneIfNotSet(self._verified)
def delete(self):
headers, data = self._requester.requestAndCheck(
headers, data = self._requester.requestJsonAndCheck(
"DELETE",
self.url,
None,
@@ -58,7 +58,7 @@ class UserKey(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.url,
None,