diff --git a/glanceclient/tests/unit/test_shell.py b/glanceclient/tests/unit/test_shell.py index 5574ccbf..13711358 100644 --- a/glanceclient/tests/unit/test_shell.py +++ b/glanceclient/tests/unit/test_shell.py @@ -272,7 +272,7 @@ class ShellTest(testutils.TestCase): glance_shell = openstack_shell.OpenStackImagesShell() glance_shell.main(args.split()) # NOTE(flaper87): this currently calls auth twice since it'll - # authenticate to get the verison list *and* to excuted the command. + # authenticate to get the version list *and* to execute the command. # This is not the ideal behavior and it should be fixed in a follow # up patch. self._assert_auth_plugin_args() diff --git a/glanceclient/v2/images.py b/glanceclient/v2/images.py index 0dd9c0d6..ed6a001d 100644 --- a/glanceclient/v2/images.py +++ b/glanceclient/v2/images.py @@ -189,7 +189,7 @@ class Controller(object): :param image_id: ID of the image to download. :param do_checksum: Enable/disable checksum validation. - :returns: An interable body or None + :returns: An iterable body or None """ url = '/v2/images/%s/file' % image_id resp, body = self.http_client.get(url) @@ -209,7 +209,7 @@ class Controller(object): :param image_id: ID of the image to upload data for. :param image_data: File-like object supplying the data to upload. - :param image_size: Unused - present for backwards compatability + :param image_size: Unused - present for backwards compatibility """ url = '/v2/images/%s/file' % image_id hdrs = {'Content-Type': 'application/octet-stream'}