From d5bbc6e4770df6a372f1dbdabe208bd9e7eacb1e Mon Sep 17 00:00:00 2001 From: Nguyen Hung Phuong Date: Tue, 29 Mar 2016 07:01:18 +0700 Subject: [PATCH] Fix typos in Keystone files TrivialFix Change-Id: I381936a3f3ef2819c97367c5663ea8deef3955e8 --- keystone/common/ldap/core.py | 2 +- keystone/common/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keystone/common/ldap/core.py b/keystone/common/ldap/core.py index d94aa04c06..d19429b20a 100644 --- a/keystone/common/ldap/core.py +++ b/keystone/common/ldap/core.py @@ -1613,7 +1613,7 @@ class BaseLdap(object): except ldap.NOT_ALLOWED_ON_NONLEAF: # Most LDAP servers do not support the tree_delete_control. # In these servers, the usual idiom is to first perform a - # search to get the entries to delete, then delete them in + # search to get the entries to delete, then delete them # in order of child to parent, since LDAP forbids the # deletion of a parent entry before deleting the children # of that parent. The simplest way to do that is to delete diff --git a/keystone/common/utils.py b/keystone/common/utils.py index 5438ad43ca..f45bfe278b 100644 --- a/keystone/common/utils.py +++ b/keystone/common/utils.py @@ -587,7 +587,7 @@ def remove_standard_port(url): separator = ':' (host, separator, port) = o.netloc.partition(':') if o.scheme.lower() == 'http' and port == '80': - # NOTE(gyee): _replace() is not a private method. It has an + # NOTE(gyee): _replace() is not a private method. It has # an underscore prefix to prevent conflict with field names. # See https://docs.python.org/2/library/collections.html# # collections.namedtuple