commit | 4b4002fc28101c8c906bad8ddf88e1503c154b29 | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Thu Jun 14 15:41:01 2012 -0400 |
committer | Joe Gregorio <jcgregorio@google.com> | Thu Jun 14 15:41:01 2012 -0400 |
tree | 7f607a7df67e96d3862962d527ffe582fc116f47 | |
parent | 573cb5d2eacf4bb05a8f9d348887e91cea4e129f [diff] |
[mq]: smallfixes
diff --git a/apiclient/discovery.py b/apiclient/discovery.py index c54b57f..3e1964c 100644 --- a/apiclient/discovery.py +++ b/apiclient/discovery.py
@@ -267,6 +267,8 @@ if type(value) == type('') or type(value) == type(u''): return value else: + if value is None: + raise ValueError('String parameters can not be None.') return str(value) elif schema_type == 'integer': return str(int(value))