From a8087a6c8b5946ecf25f019e183b26579c3475a8 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 21 May 2014 07:47:29 -0700 Subject: Fixed several typos throughout the codebase Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66 --- openstackclient/identity/v2_0/project.py | 2 +- openstackclient/identity/v3/project.py | 2 +- openstackclient/tests/common/test_parseractions.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'openstackclient') 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: -- cgit v1.2.1