From 67cf54d47dbb684d47e6965dec29e680b8f05e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Andr=C3=A9=20MOREY?= Date: Fri, 26 Aug 2016 12:17:00 +0200 Subject: [PATCH] Fix some typos in comments Change-Id: I392f123f5537fe50925e73780b6298d21c4df841 --- keystone/cmd/cli.py | 2 +- keystone/identity/schema.py | 2 +- keystone/tests/unit/assignment/test_backends.py | 2 +- keystone/tests/unit/test_v3_filters.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keystone/cmd/cli.py b/keystone/cmd/cli.py index 78ae0cac45..b8444d83c5 100644 --- a/keystone/cmd/cli.py +++ b/keystone/cmd/cli.py @@ -705,7 +705,7 @@ def _domain_config_finder(conf_dir): Domain configs match the filename pattern of 'keystone..conf'. - :returns: generator yeilding (filename, domain_name) tuples + :returns: generator yielding (filename, domain_name) tuples """ LOG.info(_LI('Scanning %r for domain config files'), conf_dir) for r, d, f in os.walk(conf_dir): diff --git a/keystone/identity/schema.py b/keystone/identity/schema.py index dc82aeacce..dc124f7203 100644 --- a/keystone/identity/schema.py +++ b/keystone/identity/schema.py @@ -50,7 +50,7 @@ user_create_v2 = { } # NOTE(ghugo): minProperties value should really be 1, however it -# is currently set to 0 to avoid breaking backwards compatability, +# is currently set to 0 to avoid breaking backwards compatibility, # and tempest tests. user_update_v2 = { diff --git a/keystone/tests/unit/assignment/test_backends.py b/keystone/tests/unit/assignment/test_backends.py index 29e323abd7..019442cfb2 100644 --- a/keystone/tests/unit/assignment/test_backends.py +++ b/keystone/tests/unit/assignment/test_backends.py @@ -3730,7 +3730,7 @@ class ImpliedRoleTests(AssignmentTestHelperMixin): 'entities': {'domains': {'users': 1, 'projects': 1, 'roles': 2}, 'roles': 2}, # Two level tree of implied roles, with the top and 1st level being - # domain specific roles, and the bottom level being infered global + # domain specific roles, and the bottom level being inferred global # roles. 'implied_roles': [{'role': 0, 'implied_roles': [1]}, {'role': 1, 'implied_roles': [2, 3]}], diff --git a/keystone/tests/unit/test_v3_filters.py b/keystone/tests/unit/test_v3_filters.py index c4d2ab16c9..e989a65127 100644 --- a/keystone/tests/unit/test_v3_filters.py +++ b/keystone/tests/unit/test_v3_filters.py @@ -213,7 +213,7 @@ class IdentityTestFilteredCase(filtering.FilterTests, """ # NOTE(lbragstad): Since Fernet tokens do not support sub-second # precision we must freeze the clock and ensure we increment the time - # by a full second after a recovation event has occured. Otherwise the + # by a full second after a recovation event has occurred. Otherwise the # token will be considered revoked even though it is actually a valid # token. time = datetime.datetime.utcnow()