projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016c6f8
)
Fix _run method
author
Aaron Hill
<aa1ronham@gmail.com>
Sat, 19 Apr 2014 12:46:11 +0000
(08:46 -0400)
committer
Aaron Hill
<aa1ronham@gmail.com>
Sat, 19 Apr 2014 12:46:45 +0000
(08:46 -0400)
tweepy/binder.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/binder.py
b/tweepy/binder.py
index 7a03ad945e081392c073ddbc048ec873706e9f28..37c2effd162d4ecd47d8f8b249dac37a9014e770 100644
(file)
--- a/
tweepy/binder.py
+++ b/
tweepy/binder.py
@@
-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'