From ffcef13cf9f8d135ca0cf8c42c109dbefa89e423 Mon Sep 17 00:00:00 2001 From: daiki kato Date: Wed, 16 Mar 2016 17:16:57 +0900 Subject: [PATCH] Fix typos This patch fixes several typos. TrivialFix Change-Id: Icd2ab913106107f2ed34408db9ef7fb1a255b076 --- manila/share/drivers/ganesha/manager.py | 4 ++-- manila/share/drivers/glusterfs/glusterfs_native.py | 2 +- manila/test.py | 2 +- manila_tempest_tests/tests/api/base.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manila/share/drivers/ganesha/manager.py b/manila/share/drivers/ganesha/manager.py index ee62668dd9..3804fb7a52 100644 --- a/manila/share/drivers/ganesha/manager.py +++ b/manila/share/drivers/ganesha/manager.py @@ -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() diff --git a/manila/share/drivers/glusterfs/glusterfs_native.py b/manila/share/drivers/glusterfs/glusterfs_native.py index 8126f56330..affea7bc23 100644 --- a/manila/share/drivers/glusterfs/glusterfs_native.py +++ b/manila/share/drivers/glusterfs/glusterfs_native.py @@ -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 -- diff --git a/manila/test.py b/manila/test.py index e565dd2753..8cf0782fc1 100644 --- a/manila/test.py +++ b/manila/test.py @@ -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 diff --git a/manila_tempest_tests/tests/api/base.py b/manila_tempest_tests/tests/api/base.py index 0395251fae..0adfbc1eba 100644 --- a/manila_tempest_tests/tests/api/base.py +++ b/manila_tempest_tests/tests/api/base.py @@ -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