Merge "fix typos in docstring"

This commit is contained in:
Jenkins
2015-10-20 16:16:02 +00:00
committed by Gerrit Code Review
3 changed files with 8 additions and 8 deletions

View File

@@ -374,15 +374,15 @@ def get_client(version, **kwargs):
* service_type: The default service_type for URL discovery
* service_name: The default service_name for URL discovery
* interface: The default interface for URL discovery
(Default: public)
(Default: public)
* region_name: The default region_name for URL discovery
* endpoint_override: Always use this endpoint URL for requests
for this ceiloclient
for this ceiloclient
* auth: An auth plugin to use instead of the session one
* user_agent: The User-Agent string to set
(Default is python-ceilometer-client)
(Default is python-ceilometer-client)
* connect_retries: the maximum number of retries that should be
attempted for connection errors
attempted for connection errors
* logger: A logging object
or (DEPRECATED):
@@ -489,8 +489,8 @@ def record_time(times, enabled, *args):
:type times: list
:param enabled: Whether timing is enabled.
:type enabled: bool
:param *args: Other data to be stored besides time data, these args
will be joined to a string.
:param args: Other data to be stored besides time data, these args
will be joined to a string.
"""
if not enabled:
yield

View File

@@ -29,7 +29,7 @@ class Client(object):
(Default: public)
:param str region_name: The default region_name for URL discovery
:param str endpoint_override: Always use this endpoint URL for requests
:param for this ceiloclient
for this ceiloclient
:param auth: An auth plugin to use instead of the session one
:type auth: keystoneclient.auth.base.BaseAuthPlugin
:param str user_agent: The User-Agent string to set

View File

@@ -42,7 +42,7 @@ class Client(object):
(Default: public)
:param str region_name: The default region_name for URL discovery
:param str endpoint_override: Always use this endpoint URL for requests
:param for this ceiloclient
for this ceiloclient
:param auth: An auth plugin to use instead of the session one
:type auth: keystoneclient.auth.base.BaseAuthPlugin
:param str user_agent: The User-Agent string to set