summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-05-28 23:05:54 +0000
committerGerrit Code Review <review@openstack.org>2014-05-28 23:05:54 +0000
commitfb656527530444c116dce493abd85cc69e8902fb (patch)
treeb0d17c422b67dac146163d50f72310f176085f01 /openstackclient
parent7ceff0eafc01c038ac5264d91701ee6384ff0b31 (diff)
parenta8087a6c8b5946ecf25f019e183b26579c3475a8 (diff)
downloadpython-openstackclient-fb656527530444c116dce493abd85cc69e8902fb.tar.gz
Merge "Fixed several typos throughout the codebase"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/v2_0/project.py2
-rw-r--r--openstackclient/identity/v3/project.py2
-rw-r--r--openstackclient/tests/common/test_parseractions.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/identity/v2_0/project.py b/openstackclient/identity/v2_0/project.py
index 60a52ad4..410d2d37 100644
--- a/openstackclient/identity/v2_0/project.py
+++ b/openstackclient/identity/v2_0/project.py
@@ -214,7 +214,7 @@ class SetProject(command.Command):
if 'id' in kwargs:
del kwargs['id']
if 'name' in kwargs:
- # Hack around borken Identity API arg names
+ # Hack around broken Identity API arg names
kwargs['tenant_name'] = kwargs['name']
del kwargs['name']
diff --git a/openstackclient/identity/v3/project.py b/openstackclient/identity/v3/project.py
index 36787bb0..e7c99ec5 100644
--- a/openstackclient/identity/v3/project.py
+++ b/openstackclient/identity/v3/project.py
@@ -251,7 +251,7 @@ class SetProject(command.Command):
if 'id' in kwargs:
del kwargs['id']
if 'domain_id' in kwargs:
- # Hack around borken Identity API arg names
+ # Hack around broken Identity API arg names
kwargs.update(
{'domain': kwargs.pop('domain_id')}
)
diff --git a/openstackclient/tests/common/test_parseractions.py b/openstackclient/tests/common/test_parseractions.py
index 705e7e9c..f26f2891 100644
--- a/openstackclient/tests/common/test_parseractions.py
+++ b/openstackclient/tests/common/test_parseractions.py
@@ -88,7 +88,7 @@ class TestKeyValueAction(utils.TestCase):
failhere = None
actual = getattr(results, 'property', {})
- # Verify non-existant red key
+ # Verify non-existent red key
try:
failhere = actual['red']
except Exception as e: