summaryrefslogtreecommitdiffstats
path: root/openstack/common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/common/utils.py')
-rw-r--r--openstack/common/utils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/openstack/common/utils.py b/openstack/common/utils.py
index dee09ac..e782e89 100644
--- a/openstack/common/utils.py
+++ b/openstack/common/utils.py
@@ -118,13 +118,13 @@ def execute(*cmd, **kwargs):
LOG.debug(_('Result was %s') % _returncode)
if (isinstance(check_exit_code, int) and
not isinstance(check_exit_code, bool) and
- _returncode != check_exit_code):
+ _returncode != check_exit_code):
(stdout, stderr) = result
raise exception.ProcessExecutionError(
- exit_code=_returncode,
- stdout=stdout,
- stderr=stderr,
- cmd=' '.join(cmd))
+ exit_code=_returncode,
+ stdout=stdout,
+ stderr=stderr,
+ cmd=' '.join(cmd))
return result
except exception.ProcessExecutionError:
if not attempts: