From 7d40b9eae87fb1631f358e3c09a9d691a942f258 Mon Sep 17 00:00:00 2001 From: AKFish Date: Wed, 21 Aug 2013 16:17:26 +0800 Subject: [PATCH] Update IssueEvent.py --- github/IssueEvent.py | 3 --- github/Repository.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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): """