summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-05-21 07:47:29 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-05-21 07:47:52 -0700
commita8087a6c8b5946ecf25f019e183b26579c3475a8 (patch)
treee1d0b64d4057d2ec3837a0c2fdd0d4c7f25557c8 /openstackclient
parent870e7ddbcce5d5f1b1bd36bb3ad95665565b3ced (diff)
downloadpython-openstackclient-a8087a6c8b5946ecf25f019e183b26579c3475a8.tar.gz
Fixed several typos throughout the codebase
Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
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: