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
5d885608
Commit
5d885608
authored
Apr 19, 2014
by
Aaron Hill
Browse files
Fix _run method
parent
016c6f84
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/binder.py
View file @
5d885608
...
...
@@ -221,15 +221,14 @@ def bind_api(**config):
return
result
def
_call
(
api
,
create
=
False
,
*
args
,
**
kargs
):
def
_call
(
api
,
*
args
,
**
kargs
):
method
=
APIMethod
(
api
,
args
,
kargs
)
if
create
:
if
kargs
.
get
(
'
create
'
)
:
return
method
else
:
return
method
.
execute
()
# Set pagination mode
if
'cursor'
in
APIMethod
.
allowed_param
:
_call
.
pagination_mode
=
'cursor'
...
...
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