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
828144f8
Commit
828144f8
authored
May 14, 2014
by
Aaron Hill
Browse files
Don't reset session in APIMethod
parent
f326c11d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/binder.py
View file @
828144f8
...
...
@@ -181,7 +181,6 @@ def bind_api(**config):
time
.
sleep
(
retry_delay
)
retries_performed
+=
1
self
.
session
=
requests
.
Session
()
# If an error was returned, throw an exception
self
.
api
.
last_response
=
resp
if
resp
.
status_code
and
not
200
<=
resp
.
status_code
<
300
:
...
...
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