summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index 09324bb3c..01cf61860 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -398,7 +398,7 @@ class CloudController(object):
(out, err) = utils.execute('ssh-keygen', '-l', '-f',
'%s' % (pubfile))
return out.split(' ')[1]
- except:
+ except Exception:
raise
finally:
shutil.rmtree(tmpdir)