mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Change NonCompletableGithubObject without breaking build.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user