Update CommitStatus.py

This commit is contained in:
AKFish
2013-08-21 13:07:23 +08:00
parent b12c4b38c5
commit 9f6562cb62
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class Commit(github.GithubObject.CompletableGithubObject):
None,
post_parameters
)
return github.CommitStatus.CommitStatus(self._requester, data, completed=True)
return github.CommitStatus.CommitStatus(self._requester, headers, data, completed=True)
def get_comments(self):
"""
-5
View File
@@ -32,11 +32,6 @@ class CommitStatus(github.GithubObject.NonCompletableGithubObject):
"""
This class represents CommitStatuss 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 created_at(self):