From: Joshua Roesslein Date: Thu, 8 Nov 2012 04:18:33 +0000 (-0800) Subject: Remove deprecated trends_current(). X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a0b3d7bdda0bbb17a2567a22415200ffb7aad4d7;p=tweepy.git Remove deprecated trends_current(). Also adding IRC notifications for CI build failures. --- diff --git a/.travis.yml b/.travis.yml index 73ad3e1..8aa965b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,10 @@ env: CONSUMER_SECRET="SpKzSXf16fEQ3AZtiRy8PkGOOgTSmL3Cdmh7o0D8" ACCESS_KEY="82301637-v1wF1jWd7oa2ZFsIDUNlPKSpTdJ6f8dIMz1Zwmy58" ACCESS_SECRET="21oUZmKWYuv7PZTcj13UFpPlmh7HD6glR8yayrOgg8" +notifications: + irc: + channels: + - "irc.freenode.net#tweepy" + on_success: change + on_failure: always diff --git a/tests.py b/tests.py index 9326806..bc7bad9 100644 --- a/tests.py +++ b/tests.py @@ -272,7 +272,6 @@ class TweepyAPITests(unittest.TestCase): self.api.search('tweepy') def testtrends(self): - self.api.trends_current() self.api.trends_daily() self.api.trends_weekly() diff --git a/tweepy/api.py b/tweepy/api.py index 8acd57f..7affc61 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -677,13 +677,6 @@ class API(object): ) search.pagination_mode = 'page' - """ trends/current """ - trends_current = bind_api( - path = '/trends/current.json', - payload_type = 'json', - allowed_param = ['exclude'] - ) - """ trends/daily """ trends_daily = bind_api( path = '/trends/daily.json',