diff options
author | Changbin Liu <changbin.liu@gmail.com> | 2013-01-14 15:48:04 -0500 |
---|---|---|
committer | Changbin Liu <changbin.liu@gmail.com> | 2013-01-14 15:56:25 -0500 |
commit | c9239fef12cf8792c6c2c42f85c52c072a7610c0 (patch) | |
tree | a8fa9345161b9f838b220e3d66d233a18ec91330 | |
parent | b097b59c375c853170954724bbc6bdfff24e08ea (diff) | |
download | nova-c9239fef12cf8792c6c2c42f85c52c072a7610c0.tar.gz nova-c9239fef12cf8792c6c2c42f85c52c072a7610c0.tar.xz nova-c9239fef12cf8792c6c2c42f85c52c072a7610c0.zip |
Fix typos in docstring
* code in bin/
* code in nova/api/
Change-Id: Ic643d640b66785d4bb54defcddc3d2312292bfdf
-rwxr-xr-x | bin/nova-dhcpbridge | 2 | ||||
-rwxr-xr-x | bin/nova-manage | 2 | ||||
-rw-r--r-- | nova/api/ec2/cloud.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/nova-dhcpbridge b/bin/nova-dhcpbridge index 6187e052d..ee7bf2da9 100755 --- a/bin/nova-dhcpbridge +++ b/bin/nova-dhcpbridge @@ -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: diff --git a/bin/nova-manage b/bin/nova-manage index 67212a198..c783c304b 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -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()) diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 73a4a02ae..353d08714 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -148,7 +148,7 @@ def _properties_get_mappings(properties): def _format_block_device_mapping(bdm): - """Contruct BlockDeviceMappingItemType + """Construct BlockDeviceMappingItemType {'device_name': '...', 'snapshot_id': , ...} => BlockDeviceMappingItemType """ |