summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhgangwx <hgangwx@cn.ibm.com>2015-12-30 14:25:22 +0800
committerhgangwx <hgangwx@cn.ibm.com>2015-12-30 14:27:29 +0800
commitab65eef4ce4096410bdfec9ea7d8780f800321df (patch)
tree90dd275c5bbb8c9898c8d81ea05acb2b2fb35cfa
parent5e13c3e845cae9d4736e7a8706f1f3ea1476878b (diff)
downloadpython-swiftclient-ab65eef4ce4096410bdfec9ea7d8780f800321df.tar.gz
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
-rw-r--r--swiftclient/client.py4
1 files 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']