diff --git a/github/IssueEvent.py b/github/IssueEvent.py index aa64f355..3d05a8c7 100644 --- a/github/IssueEvent.py +++ b/github/IssueEvent.py @@ -33,9 +33,6 @@ class IssueEvent(github.GithubObject.CompletableGithubObject): """ This class represents IssueEvents 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.CompletableGithubObject.__init__(self, requester, {}, attributes, completed) @property def actor(self): diff --git a/github/Repository.py b/github/Repository.py index c364b058..49530a69 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1212,7 +1212,7 @@ class Repository(github.GithubObject.CompletableGithubObject): None, None ) - return github.IssueEvent.IssueEvent(self._requester, data, completed=True) + return github.IssueEvent.IssueEvent(self._requester, headers, data, completed=True) def get_issues_events(self): """