This commit is contained in:
AKFish
2013-08-21 17:32:32 +08:00
parent 3f6d1b6b70
commit 30d9d499a1
+2 -1
View File
@@ -40,6 +40,8 @@ class GithubObject(object):
"""
def __init__(self, requester, headers, attributes, completed):
self._requester = requester
# Make sure headers are signed before any operations on attributes
# Object creatation requires headers as parameter
self._headers = headers;
self._initAttributes()
self._storeAndUseAttributes(attributes)
@@ -86,7 +88,6 @@ class NonCompletableGithubObject(GithubObject):
class CompletableGithubObject(GithubObject):
def __init__(self, requester, headers, attributes, completed):
# Adapte for __init__ change, remove later
GithubObject.__init__(self, requester, headers, attributes, completed)
self.__completed = completed