mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Updating links to Github documentation for deploy keys (#1850)
* Updating links to Github documentation for deploy keys There are a couple of links to http://developer.github.com/v3/repos/keys/ and I believe these should be going to http://developer.github.com/v3/repos/#deploy-keys. I've updated the docstrings in this file appropriately.
This commit is contained in:
@@ -38,7 +38,7 @@ import github.GithubObject
|
||||
|
||||
class RepositoryKey(github.GithubObject.CompletableGithubObject):
|
||||
"""
|
||||
This class represents RepositoryKeys. The reference can be found here http://developer.github.com/v3/repos/keys/
|
||||
This class represents RepositoryKeys. The reference can be found here http://developer.github.com/v3/repos/#deploy-keys
|
||||
"""
|
||||
|
||||
def __repr__(self):
|
||||
@@ -102,7 +102,7 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
|
||||
|
||||
def delete(self):
|
||||
"""
|
||||
:calls: `DELETE /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/keys>`_
|
||||
:calls: `DELETE /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/#deploy-keys>`_
|
||||
:rtype: None
|
||||
"""
|
||||
headers, data = self._requester.requestJsonAndCheck("DELETE", self.url)
|
||||
|
||||
Reference in New Issue
Block a user