Fix typos in Keystone files
TrivialFix Change-Id: I381936a3f3ef2819c97367c5663ea8deef3955e8
This commit is contained in:

committed by
Steve Martinelli

parent
6639463c37
commit
d5bbc6e477
@@ -1613,7 +1613,7 @@ class BaseLdap(object):
|
|||||||
except ldap.NOT_ALLOWED_ON_NONLEAF:
|
except ldap.NOT_ALLOWED_ON_NONLEAF:
|
||||||
# Most LDAP servers do not support the tree_delete_control.
|
# Most LDAP servers do not support the tree_delete_control.
|
||||||
# In these servers, the usual idiom is to first perform a
|
# 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
|
# in order of child to parent, since LDAP forbids the
|
||||||
# deletion of a parent entry before deleting the children
|
# deletion of a parent entry before deleting the children
|
||||||
# of that parent. The simplest way to do that is to delete
|
# of that parent. The simplest way to do that is to delete
|
||||||
|
@@ -587,7 +587,7 @@ def remove_standard_port(url):
|
|||||||
separator = ':'
|
separator = ':'
|
||||||
(host, separator, port) = o.netloc.partition(':')
|
(host, separator, port) = o.netloc.partition(':')
|
||||||
if o.scheme.lower() == 'http' and port == '80':
|
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.
|
# an underscore prefix to prevent conflict with field names.
|
||||||
# See https://docs.python.org/2/library/collections.html#
|
# See https://docs.python.org/2/library/collections.html#
|
||||||
# collections.namedtuple
|
# collections.namedtuple
|
||||||
|
Reference in New Issue
Block a user