summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/cloudpipe/pipelib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/cloudpipe/pipelib.py b/nova/cloudpipe/pipelib.py
index 46549c9d7..2c4673f9e 100644
--- a/nova/cloudpipe/pipelib.py
+++ b/nova/cloudpipe/pipelib.py
@@ -147,6 +147,6 @@ class CloudPipe(object):
key_path = os.path.join(key_dir, '%s.pem' % key_name)
with open(key_path, 'w') as f:
f.write(private_key)
- except exception.Duplicate, os.error, IOError:
+ except (exception.Duplicate, os.error, IOError):
pass
return key_name