Skip to content
Snippets Groups Projects
Commit 6668900e authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Expose exception objects via the as keyword"

parents 5771454d 1dab839d
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ def main():
config.write(f)
module.exit_json(changed=changed)
except Exception, e:
except Exception as e:
module.exit_json(failed=True, changed=changed, msg=repr(e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment