Merge "Fixed misspellings of common words"

This commit is contained in:
Jenkins
2013-12-12 18:29:46 +00:00
committed by Gerrit Code Review
4 changed files with 7 additions and 7 deletions

View File

@@ -112,7 +112,7 @@ class Manager(utils.HookableMixin):
try:
os.makedirs(cache_dir, 0o755)
except OSError:
# NOTE(kiall): This is typicaly either permission denied while
# NOTE(kiall): This is typically either permission denied while
# attempting to create the directory, or the directory
# already exists. Either way, don't fail.
pass
@@ -126,7 +126,7 @@ class Manager(utils.HookableMixin):
try:
setattr(self, cache_attr, open(path, mode))
except IOError:
# NOTE(kiall): This is typicaly a permission denied while
# NOTE(kiall): This is typically a permission denied while
# attempting to write the cache file.
pass

View File

@@ -106,7 +106,7 @@ class Manager(utils.HookableMixin):
try:
os.makedirs(cache_dir, 0o755)
except OSError:
# NOTE(kiall): This is typicaly either permission denied while
# NOTE(kiall): This is typically either permission denied while
# attempting to create the directory, or the directory
# already exists. Either way, don't fail.
pass
@@ -120,7 +120,7 @@ class Manager(utils.HookableMixin):
try:
setattr(self, cache_attr, open(path, mode))
except IOError:
# NOTE(kiall): This is typicaly a permission denied while
# NOTE(kiall): This is typically a permission denied while
# attempting to write the cache file.
pass

View File

@@ -166,7 +166,7 @@ def element_to_dict(element):
def standardize_json_lists(json_dict):
"""
In XML, we might see something like {'instances':{'instances':[...]}},
which we must change to just {'instances':[...]} to be compatable with
which we must change to just {'instances':[...]} to be compatible with
the true JSON format.
If any items are dictionaries with only one item which is a list,
@@ -253,7 +253,7 @@ def populate_element_from_dict(element, dict):
def modify_response_types(value, type_translator):
"""
This will convert some string in response dictionary to ints or bool
so that our respose is compatiable with code expecting JSON style responses
so that our respose is compatible with code expecting JSON style responses
"""
if isinstance(value, str):
if value == 'True':

View File

@@ -75,7 +75,7 @@ def load_plugin(auth_system):
def load_plugin_from_args(args):
"""Load requred plugin and populate it with options.
"""Load required plugin and populate it with options.
Try to guess auth system if it is not specified. Systems are tried in
alphabetical order.