rhec/pyelasticsearch — pull request #40 by robertour (2012-12-10 20:27:58+00:00)
Title: avoiding a NoneType error in method.__doc__

This error just happen in our testing server, not in our local machine. The only difference is that the server uses nginx/uwsgi.

It seems method.__doc__ could come empty. and I get this error:

Exception Value: argument of type 'NoneType' is not iterable
Exception Location:	.../local/lib/python2.7/site-packages/pyelasticsearch/client.py in _add_es_kwarg_docs, line 36