projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c44d22
)
Ignore any arguments that are None.
author
Josh Roesslein
<jroesslein@gmail.com>
Wed, 16 Jun 2010 06:36:04 +0000
(
01:36
-0500)
committer
Josh Roesslein
<jroesslein@gmail.com>
Wed, 16 Jun 2010 06:36:04 +0000
(
01:36
-0500)
Fixes issues #33
tweepy/binder.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/binder.py
b/tweepy/binder.py
index b7ad993210e53414788e60801eebf0586d296f67..731ab6234284e55507ce6767ef76af1fd9c05a8b 100644
(file)
--- a/
tweepy/binder.py
+++ b/
tweepy/binder.py
@@
-67,6
+67,8
@@
def bind_api(**config):
def build_parameters(self, args, kargs):
self.parameters = {}
for idx, arg in enumerate(args):
+ if arg is None:
+ continue
try:
self.parameters[self.allowed_param[idx]] = convert_to_utf8_str(arg)