From 01a04230092324c75e8888d7a30219996b73adc4 Mon Sep 17 00:00:00 2001 From: Sarvesh Ranjan Date: Thu, 13 Aug 2015 16:09:27 +0530 Subject: [PATCH] Removed confusing typos in utils/openstack/base.py file Change-Id: I1d8f7cc94aca28b7e5f872e09e23164bd31cabf0 --- sahara/utils/openstack/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sahara/utils/openstack/base.py b/sahara/utils/openstack/base.py index 1abf0e81..76889fb6 100644 --- a/sahara/utils/openstack/base.py +++ b/sahara/utils/openstack/base.py @@ -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