Removed confusing typos in utils/openstack/base.py file

Change-Id: I1d8f7cc94aca28b7e5f872e09e23164bd31cabf0
This commit is contained in:
Sarvesh Ranjan 2015-08-13 16:09:27 +05:30
parent e78d3a3288
commit 01a0423009

View File

@ -84,7 +84,7 @@ def execute_with_retries(method, *args, **kwargs):
error_code = getattr(e, 'http_status', None) or getattr(
e, 'status_code', None) or getattr(e, 'code', None)
if error_code in ERRORS_TO_RETRY:
LOG.warning(_LW('Occasional error occured during "{method}" '
LOG.warning(_LW('Occasional error occurred during "{method}" '
'execution: {error_msg} ({error_code}). '
'Operation will be retried.').format(
method=method.__name__,
@ -94,7 +94,7 @@ def execute_with_retries(method, *args, **kwargs):
retry_after = getattr(e, 'retry_after', 0)
context.sleep(max(retry_after, CONF.retries.retry_after))
else:
LOG.debug('Permanent error occured during "{method}" '
LOG.debug('Permanent error occurred during "{method}" '
'execution: {error_msg}.'.format(
method=method.__name__, error_msg=e))
raise e