Fix spellings for some words

change occured to occurred
       retreive to retrieve

Change-Id: Ib1f01275de049a842828e37edf42def24ea03689
This commit is contained in:
venkatamahesh 2016-02-03 20:39:24 +05:30
parent da0d736466
commit 4439e0aee0
3 changed files with 5 additions and 5 deletions

View File

@ -155,7 +155,7 @@ def from_response(response):
body = response.content
if body and response.headers['content-type'].\
lower().startswith("application/json"):
# Iterate over the nested objects and retreive the "message" attribute.
# Iterate over the nested objects and retrieve the "message" attribute.
messages = [obj.get('message') for obj in response.json().values()]
# Join all of the messages together nicely and filter out any objects
# that don't have a "message" attr.

View File

@ -404,7 +404,7 @@ class Package(FileWrapperMixin):
base_url=base_url,
)
except Exception as e:
LOG.error("Error {0} occured while parsing package {1}, "
LOG.error("Error {0} occurred while parsing package {1}, "
"required by {2} package".format(
e, dep_name,
self.manifest['FullName']))
@ -529,7 +529,7 @@ def ensure_images(glance_client, image_specs, base_url,
glance_client.images.update(img['id'], is_public=True)
LOG.debug('Success update for image {0}'.format(img['id']))
except Exception as e:
LOG.exception(_("Error {0} occured while setting "
LOG.exception(_("Error {0} occurred while setting "
"image {1} public").format(e, img['id']))
installed_images.append(img)
@ -602,7 +602,7 @@ class Bundle(FileWrapperMixin):
)
except Exception as e:
LOG.error("Error {0} occured while obtaining "
LOG.error("Error {0} occurred while obtaining "
"package {1}".format(e, package['Name']))
continue
yield pkg_obj

View File

@ -1,4 +1,4 @@
fixes:
- command 'package_update' was broken since murano start support of keystone v3.
The error occured because murano tried to pass custom content type parameter
The error occurred because murano tried to pass custom content type parameter
in the request kwargs, not headers.