summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-06-05 13:42:43 +0000
committerGerrit Code Review <review@openstack.org>2013-06-05 13:42:43 +0000
commit09adc96f8fdf923a2aa377f408b956cb8fba3097 (patch)
tree8d52eb4a83242286bef1cc73cd06f1bace8b0490 /nova/openstack
parent17cbb833aba3bedab8eb80ed89a76bdd52a94ce7 (diff)
parentbf68a9592db4c90bc9421ce49c7c0766966d6e7e (diff)
Merge "Improve Python 3.x compatibility"
Diffstat (limited to 'nova/openstack')
-rw-r--r--nova/openstack/common/processutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/openstack/common/processutils.py b/nova/openstack/common/processutils.py
index de6179602..87d89b490 100644
--- a/nova/openstack/common/processutils.py
+++ b/nova/openstack/common/processutils.py
@@ -203,7 +203,7 @@ def trycmd(*args, **kwargs):
try:
out, err = execute(*args, **kwargs)
failed = False
- except ProcessExecutionError, exn:
+ except ProcessExecutionError as exn:
out, err = '', str(exn)
failed = True