Fix typo in cinderclient
sematics --> semantics hypen-separated --> hyphen-separated typicaly --> typically Change-Id: I5df277ef7036082d0e4b079c23d41da809e5270f Closes-Bug: #1254587
This commit is contained in:
parent
e8a0e6abdf
commit
5aaa68f09e
@ -110,7 +110,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
|
||||
@ -124,7 +124,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
|
||||
|
||||
|
@ -298,7 +298,7 @@ class OpenStackCinderShell(object):
|
||||
|
||||
def _find_actions(self, subparsers, actions_module):
|
||||
for attr in (a for a in dir(actions_module) if a.startswith('do_')):
|
||||
# I prefer to be hypen-separated instead of underscores.
|
||||
# I prefer to be hyphen-separated instead of underscores.
|
||||
command = attr[3:].replace('_', '-')
|
||||
callback = getattr(actions_module, attr)
|
||||
desc = callback.__doc__ or ''
|
||||
|
@ -56,7 +56,7 @@ def add_arg(f, *args, **kwargs):
|
||||
# NOTE(sirp): avoid dups that can occur when the module is shared across
|
||||
# tests.
|
||||
if (args, kwargs) not in f.arguments:
|
||||
# Because of the sematics of decorator composition if we just append
|
||||
# Because of the semantics of decorator composition if we just append
|
||||
# to the options list positional options will appear to be backwards.
|
||||
f.arguments.insert(0, (args, kwargs))
|
||||
|
||||
|
@ -32,6 +32,7 @@ Release Notes
|
||||
MASTER
|
||||
------
|
||||
.. _1254951: http://bugs.launchpad.net/python-cinderclient/+bug/1254951
|
||||
.. _1254587: http://bugs.launchpad.net/python-cinderclient/+bug/1254587
|
||||
|
||||
1.0.7
|
||||
-----
|
||||
|
Loading…
Reference in New Issue
Block a user