Fix typos

This patch fixes several typos.

TrivialFix

Change-Id: Icd2ab913106107f2ed34408db9ef7fb1a255b076
This commit is contained in:
daiki kato 2016-03-16 17:16:57 +09:00
parent af16ca6799
commit ffcef13cf9
4 changed files with 5 additions and 5 deletions

View File

@ -105,7 +105,7 @@ def _conf2json(conf):
js_token_list.append(word)
js_token_list.append("}")
# group quouted strings
# group quoted strings
token_grp_list = []
for tok in js_token_list:
if tok[0] == '"':
@ -212,7 +212,7 @@ class GaneshaManager(object):
'100);', run_as_root=False, check_exit_code=False)
self.get_export_id(bump=False)
# Starting from empty state. State will be rebuilt in a later
# stage of service initalization.
# stage of service initialization.
self.reset_exports()
self.restart_service()

View File

@ -85,7 +85,7 @@ class GlusterfsNativeShareDriver(driver.ExecuteMixin,
if not ssl_allow_opt:
# Not having AUTH_SSL_ALLOW set is a problematic edge case.
# - In GlusterFS 3.6, it implies that access is allowed to
# noone, including intra-service access, which causes
# none, including intra-service access, which causes
# problems internally in GlusterFS
# - In GlusterFS 3.7, it implies that access control is
# disabled, which defeats the purpose of this driver --

View File

@ -248,7 +248,7 @@ class TestCase(base_test.BaseTestCase):
error = abs(float(d1value) - float(d2value))
within_tolerance = error <= tolerance
except (ValueError, TypeError):
# If both values aren't convertable to float, just ignore
# If both values aren't convertible to float, just ignore
# ValueError if arg is a str, TypeError if it's something else
# (like None)
within_tolerance = False

View File

@ -752,7 +752,7 @@ class BaseSharesTest(test.BaseTestCase):
error = abs(float(d1value) - float(d2value))
within_tolerance = error <= tolerance
except (ValueError, TypeError):
# If both values aren't convertable to float, just ignore
# If both values aren't convertible to float, just ignore
# ValueError if arg is a str, TypeError if it's something else
# (like None)
within_tolerance = False