Fixing open stack compile time errors irt exception handling for Python 3 (#3848)

This commit is contained in:
@
2016-06-03 06:37:09 -07:00
committed by Matt Clay
parent 13bebda244
commit 7960e99310
11 changed files with 73 additions and 73 deletions

View File

@@ -368,7 +368,7 @@ def main():
d = dispatch(keystone, user, password, tenant, tenant_description,
email, role, state, endpoint, token, login_user,
login_password, check_mode)
except Exception, e:
except Exception as e:
if check_mode:
# If we have a failure in check mode
module.exit_json(changed=True,