Fix typos in docstring
* code in bin/ * code in nova/api/ Change-Id: Ic643d640b66785d4bb54defcddc3d2312292bfdf
This commit is contained in:
parent
b097b59c37
commit
c9239fef12
@ -111,7 +111,7 @@ CONF.register_cli_opt(
|
||||
|
||||
|
||||
def main():
|
||||
"""Parse environment and arguments and call the approproate action."""
|
||||
"""Parse environment and arguments and call the appropriate action."""
|
||||
try:
|
||||
config_file = os.environ['CONFIG_FILE']
|
||||
except KeyError:
|
||||
|
@ -205,7 +205,7 @@ class ShellCommands(object):
|
||||
|
||||
@args('--path', dest='path', metavar='<path>', help='Script path')
|
||||
def script(self, path):
|
||||
"""Runs the script from the specifed path with flags set properly.
|
||||
"""Runs the script from the specified path with flags set properly.
|
||||
arguments: path"""
|
||||
exec(compile(open(path).read(), path, 'exec'), locals(), globals())
|
||||
|
||||
|
@ -148,7 +148,7 @@ def _properties_get_mappings(properties):
|
||||
|
||||
|
||||
def _format_block_device_mapping(bdm):
|
||||
"""Contruct BlockDeviceMappingItemType
|
||||
"""Construct BlockDeviceMappingItemType
|
||||
{'device_name': '...', 'snapshot_id': , ...}
|
||||
=> BlockDeviceMappingItemType
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user