Fix some inconsistency in docstrings

Added colon after ":returns" according to:
http://docs.openstack.org/developer/hacking

blank lines are added before the param lines

Change-Id: Icfce30824be23a4b221900e49c33fe8b346efa18
This commit is contained in:
april 2015-12-29 01:30:44 +08:00
parent 97e9114939
commit bf8f99e0d7
2 changed files with 3 additions and 2 deletions

View File

@ -27,8 +27,9 @@ def register_cache_configurations(conf):
The procedure registers all configurations required for oslo.cache.
It should be called before configuring of cache region
:param conf: instance of heat configuration
:return updated heat configuration
:returns: updated heat configuration
"""
# register global configurations for caching in heat
core.configure(conf)

View File

@ -51,7 +51,7 @@ class AuthProtocol(object):
:param env: wsgi request environment
:param start_response: wsgi response callback
:returns HTTPUnauthorized http response
:returns: HTTPUnauthorized http response
"""
resp = webob.exc.HTTPUnauthorized(_("Backend authentication failed"),
[])