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:
parent
97e9114939
commit
bf8f99e0d7
@ -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)
|
||||
|
@ -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"),
|
||||
[])
|
||||
|
Loading…
Reference in New Issue
Block a user