Fixed misspellings of common words
Fixed misspelling of common words found by the 'misspellings' tool. Closes-Bug: #1257531 Change-Id: Ic6bedbce3a242d6e1340ecc442d29605af8be9a4
This commit is contained in:
parent
68f8ae0d9c
commit
c1e46dcd00
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -151,7 +151,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,
|
||||
@ -238,7 +238,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':
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user