Change NonCompletableGithubObject without breaking build.

This commit is contained in:
AKFish
2013-08-21 12:32:41 +08:00
parent cfbe7fb0b0
commit 0bc138b490
21 changed files with 126 additions and 14 deletions
+5
View File
@@ -30,6 +30,11 @@ class GitObject(github.GithubObject.NonCompletableGithubObject):
"""
This class represents GitObjects as returned for example by http://developer.github.com/v3/todo
"""
def __init__(self, requester, attributes, completed):
'''
Adapte for __init__ change, remove later
'''
github.GithubObject.NonCompletableGithubObject.__init__(self, requester, {}, attributes, completed)
@property
def sha(self):