Fix common misspellings

Wikipedia's list of common misspellings [1] has a machine-readable
version.  This patch fixes those misspellings mentioned in the list
which don't have multiple right variants (as e.g. "accension", which can
be both "accession" and "ascension"), such misspellings are left
untouched.  The list of changes was manually re-checked for false
positives.

[1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

Change-Id: I2446995aa8b7c89c7f78c056f9ddb6d8e7899e4e
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2015-03-19 17:25:57 +01:00
parent 3f4b193afc
commit 199692d6ff
4 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ elif [[ $NO_SHARE_SERVER_HANDLING_MODES -ge 1 ]]; then
elif [[ $WITH_SHARE_SERVER_HANDLING_MODES -ge 1 ]]; then
iniset $BASE/new/tempest/etc/tempest.conf share multitenancy_enabled True
else
echo 'Should never get here. If get, then error occured.'
echo 'Should never get here. If get, then error occurred.'
exit 1
fi

View File

@ -44,7 +44,7 @@ def walk(dct):
class RootExecutor(object):
"""Execute wrapper defaulting to root exection."""
"""Execute wrapper defaulting to root execution."""
def __init__(self, execute=utils.execute):
self.execute = execute

View File

@ -365,7 +365,7 @@ class ServiceInstanceManager(object):
self.compute_api.server_get(context, server_id)
except exception.InstanceNotFound:
LOG.debug("Service instance '%s' was deleted "
"succesfully.", server_id)
"successfully.", server_id)
break
time.sleep(2)
else:
@ -556,7 +556,7 @@ class ServiceInstanceManager(object):
def _check_server_availability(self, server):
t = time.time()
while time.time() - t < self.max_time_to_build_instance:
LOG.debug('Checking service VM availablity.')
LOG.debug('Checking service VM availability.')
try:
socket.socket().connect((server['ip'], 22))
LOG.debug('Service VM is available via SSH.')

View File

@ -102,7 +102,7 @@ class SSHPool(pools.Pool):
look_for_keys=look_for_keys,
timeout=self.conn_timeout)
# Paramiko by default sets the socket timeout to 0.1 seconds,
# ignoring what we set thru the sshclient. This doesn't help for
# ignoring what we set through the sshclient. This doesn't help for
# keeping long lived connections. Hence we have to bypass it, by
# overriding it after the transport is initialized. We are setting
# the sockettimeout to None and setting a keepalive packet so that,