Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
a0b3d7bd
Commit
a0b3d7bd
authored
Nov 07, 2012
by
Joshua Roesslein
Browse files
Remove deprecated trends_current().
Also adding IRC notifications for CI build failures.
parent
270bf4a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
a0b3d7bd
...
...
@@ -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
tests.py
View file @
a0b3d7bd
...
...
@@ -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
()
...
...
tweepy/api.py
View file @
a0b3d7bd
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment