Fix a few spelling mistakes

Donmain should be domain
   prvider should be provider
   boudary should be boundary
   convesion should be conversion
   inteface should be interface
   projcets should be projects
   sensistive should be sensitive
   environemt should be environment
   validaton shoud be validation

Closes-Bug: #1595778

Change-Id: I304d0de68aa096ea1c1a26c8712a2312578e9c30
This commit is contained in:
gecong1973 2016-06-24 10:42:28 +08:00 committed by Steve Martinelli
parent 4ac3c86eb6
commit 3f78996cfa
7 changed files with 9 additions and 9 deletions

View File

@ -630,7 +630,7 @@ DOMAIN_CONF_FTAIL = '.conf'
def _domain_config_finder(conf_dir):
"""Return a generator of all domain config files found in a directory.
Donmain configs match the filename pattern of
Domain configs match the filename pattern of
'keystone.<domain_name>.conf'.
:returns: generator yeilding (filename, domain_name) tuples

View File

@ -805,7 +805,7 @@ def render_exception(error, context=None, request=None, user_locale=None):
body['error']['identity'] = error.authentication
elif isinstance(error, exception.Unauthorized):
# NOTE(gyee): we only care about the request environment in the
# context. Also, its OK to pass the environemt as it is read-only in
# context. Also, its OK to pass the environment as it is read-only in
# Application.base_url()
local_context = {}
if request:

View File

@ -274,7 +274,7 @@ class FederationDriverBase(object):
:param sp_id: id of the service provider
:type sp_id: string
:param sp: service prvider object
:param sp: service provider object
:type sp: dict
:returns: service provider ref

View File

@ -335,7 +335,7 @@ class LDAPHandler(object):
Native Keystone values cannot be passed directly into and from the
python-ldap API. Type conversion must occur at the LDAP API
boudary, examples of type conversions are:
boundary, examples of type conversions are:
* booleans map to the strings 'TRUE' and 'FALSE'
@ -381,7 +381,7 @@ class LDAPHandler(object):
subclassing
To perform the wrapping operations in the correct order
the type convesion class would have to subclass each of
the type conversion class would have to subclass each of
the API providers. This is awkward, doubles the number of
classes, and does not scale well. It requires the type
conversion class to be aware of all possible API
@ -839,7 +839,7 @@ class PooledLDAPHandler(LDAPHandler):
class KeystoneLDAPHandler(LDAPHandler):
"""Convert data types and perform logging.
This LDAP inteface wraps the python-ldap based interfaces. The
This LDAP interface wraps the python-ldap based interfaces. The
python-ldap interfaces require string values encoded in UTF-8. The
OpenStack logging framework at the time of this writing is not
capable of accepting strings encoded in UTF-8, the log functions

View File

@ -516,7 +516,7 @@ class V9ResourceWrapperForV8Driver(ResourceDriverV9):
If the filter includes domain_id==None, then we should only list
domains (convert to a project acting as a domain) since regular
projcets always have a non-None value for domain_id.
projects always have a non-None value for domain_id.
Likewise, if the filter includes domain_id==<non-None value>, then we
should only list projects.

View File

@ -110,7 +110,7 @@ class DomainConfigDriverV8(object):
parameter is ignored
The option is uniquely defined by domain_id, group and option,
irrespective of whether it is sensistive ot not.
irrespective of whether it is sensitive ot not.
"""
raise exception.NotImplemented() # pragma: no cover

View File

@ -67,7 +67,7 @@ class BaseTestCase(testtools.TestCase, common_auth.AuthTestMixin):
def get_scoped_token(self, user):
"""Convenience method for getting scoped token.
This method doesn't do any token validaton.
This method doesn't do any token validation.
:param user: A dictionary with user information like 'username',
'password', 'domain_id'