summaryrefslogtreecommitdiff
path: root/cloud/cloudstack/cs_sshkeypair.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/cloudstack/cs_sshkeypair.py')
-rw-r--r--cloud/cloudstack/cs_sshkeypair.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/cloudstack/cs_sshkeypair.py b/cloud/cloudstack/cs_sshkeypair.py
index 7e665cd6..7794303f 100644
--- a/cloud/cloudstack/cs_sshkeypair.py
+++ b/cloud/cloudstack/cs_sshkeypair.py
@@ -241,7 +241,7 @@ def main():
result = acs_sshkey.get_result(ssh_key)
- except CloudStackException, e:
+ except CloudStackException as e:
module.fail_json(msg='CloudStackException: %s' % str(e))
module.exit_json(**result)