From: Vinson Lee Date: Tue, 17 Jul 2012 05:17:11 +0000 (-0700) Subject: Remove deprecated statuses/public_timeline. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9520bf5a97c524036fd6d1d82b8f0e59bb491ba5;p=tweepy.git Remove deprecated statuses/public_timeline. Signed-off-by: Vinson Lee --- diff --git a/tests.py b/tests.py index b3ca2ff..0f388e2 100644 --- a/tests.py +++ b/tests.py @@ -26,9 +26,6 @@ class TweepyAPITests(unittest.TestCase): self.api.retry_count = 2 self.api.retry_delay = 5 - def testpublictimeline(self): - self.api.public_timeline() - def testhometimeline(self): self.api.home_timeline() diff --git a/tweepy/api.py b/tweepy/api.py index 6fa3fff..9c87efe 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -31,13 +31,6 @@ class API(object): self.retry_errors = retry_errors self.parser = parser or ModelParser() - """ statuses/public_timeline """ - public_timeline = bind_api( - path = '/statuses/public_timeline.json', - payload_type = 'status', payload_list = True, - allowed_param = [] - ) - """ statuses/home_timeline """ home_timeline = bind_api( path = '/statuses/home_timeline.json',