projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4696327
)
Ignore arguments passed into binder that are none. Thanks Mark Lango for the suggestion!
author
Josh Roesslein
<jroesslein@gmail.com>
Sun, 13 Sep 2009 17:33:22 +0000
(12:33 -0500)
committer
Josh Roesslein
<jroesslein@gmail.com>
Sun, 13 Sep 2009 17:33:22 +0000
(12:33 -0500)
tweepy/binder.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/binder.py
b/tweepy/binder.py
index 5595db35089ffdf174fb8b5b2247e1509fd0d000..6a55efff09e12dbb9e93120b94cf3f3d0c899812 100644
(file)
--- a/
tweepy/binder.py
+++ b/
tweepy/binder.py
@@
-39,6
+39,8
@@
def bind_api(path, parser, allowed_param=None, method='GET', require_auth=False,
except IndexError:
raise TweepError('Too many parameters supplied!')
for k, arg in kargs.items():
+ if arg is None:
+ continue
if k in parameters:
raise TweepError('Multiple values for parameter %s supplied!' % k)
if k not in allowed_param: