From ab65eef4ce4096410bdfec9ea7d8780f800321df Mon Sep 17 00:00:00 2001 From: hgangwx Date: Wed, 30 Dec 2015 14:25:22 +0800 Subject: [PATCH] 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 --- swiftclient/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swiftclient/client.py b/swiftclient/client.py index 959ed8f..925b396 100644 --- a/swiftclient/client.py +++ b/swiftclient/client.py @@ -442,7 +442,7 @@ def get_auth(auth_url, user, key, **kwargs): :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 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: 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 if kwargs.get('tenant_name'): os_options['tenant_name'] = kwargs['tenant_name']