Wrong usage of "an"
Wrong usage of "an" in the messages: "the optional os_options paramater includes an non-empty" "We are allowing to have an tenant_name argument" Should be: "the optional os_options paramater includes a non-empty" "We are allowing to have a tenant_name argument" Totally 2 occurrences in python-swiftclient base code. Change-Id: I2f2f7e07432fedfee5ccb418d9505250b3fed597
This commit is contained in:
@@ -442,7 +442,7 @@ def get_auth(auth_url, user, key, **kwargs):
|
|||||||
|
|
||||||
:returns: a tuple, (storage_url, token)
|
:returns: a tuple, (storage_url, token)
|
||||||
|
|
||||||
N.B. if the optional os_options paramater includes an non-empty
|
N.B. if the optional os_options paramater includes a non-empty
|
||||||
'object_storage_url' key it will override the the default storage url
|
'object_storage_url' key it will override the the default storage url
|
||||||
returned by the auth service.
|
returned by the auth service.
|
||||||
|
|
||||||
@@ -472,7 +472,7 @@ def get_auth(auth_url, user, key, **kwargs):
|
|||||||
if user and not kwargs.get('tenant_name') and ':' in user:
|
if user and not kwargs.get('tenant_name') and ':' in user:
|
||||||
os_options['tenant_name'], user = user.split(':')
|
os_options['tenant_name'], user = user.split(':')
|
||||||
|
|
||||||
# We are allowing to have an tenant_name argument in get_auth
|
# We are allowing to have a tenant_name argument in get_auth
|
||||||
# directly without having os_options
|
# directly without having os_options
|
||||||
if kwargs.get('tenant_name'):
|
if kwargs.get('tenant_name'):
|
||||||
os_options['tenant_name'] = kwargs['tenant_name']
|
os_options['tenant_name'] = kwargs['tenant_name']
|
||||||
|
|||||||
Reference in New Issue
Block a user