mozilla-services/cornice — pull request #138 by jmstaley (2013-04-15 12:57:27+00:00)
Title: Fix docstring when defining a resource

When defining a resource docstrings aren't being picked up correctly. 'view' in _render_service is a string e.g. 'get'. As such the docstring that gets rendered is from the string type:

"str(object) -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."

I've updated _render_service to use a similar pattern as services.decorate_view to get the correct docstring.