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
+6 -5
View File
@@ -80,17 +80,18 @@ class GithubObject(object):
class NonCompletableGithubObject(GithubObject):
def __init__(self, requester, attributes, completed):
'''
Adapte for __init__ change, remove later
'''
GithubObject.__init__(self, requester, {}, attributes, completed)
# def __init__(self, requester, attributes, completed):
# '''
# Adapte for __init__ change, remove later
# '''
# GithubObject.__init__(self, requester, {}, attributes, completed)
def _completeIfNeeded(self):
pass
class CompletableGithubObject(GithubObject):
def __init__(self, requester, attributes, completed):
# Adapte for __init__ change, remove later
GithubObject.__init__(self, requester, {}, attributes, completed)
self.__completed = completed