Update RepositoryKey.py

This commit is contained in:
AKFish
2013-08-21 15:04:34 +08:00
parent ca6189c3c9
commit 2f31828502
3 changed files with 18 additions and 11 deletions
+2 -3
View File
@@ -33,9 +33,8 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
This class represents RepositoryKeys. The reference can be found here http://developer.github.com/v3/repos/keys/
"""
def __init__(self, requester, attributes, completed, repoUrl):
##############NOTE: this one should not be removed but modified
github.GithubObject.CompletableGithubObject.__init__(self, requester, {}, attributes, completed)
def __init__(self, requester, headers, attributes, completed, repoUrl):
github.GithubObject.CompletableGithubObject.__init__(self, requester, headers, attributes, completed)
self.__repoUrl = repoUrl
@property