Commit 832d6c2f by James Cammarata

Merge pull request #7632 from cdwertmann/patch-2

Don't use deprecated BaseException.message in keystone_user
parents 849b0f87 5cab159b
...@@ -337,9 +337,9 @@ def main(): ...@@ -337,9 +337,9 @@ def main():
if check_mode: if check_mode:
# If we have a failure in check mode # If we have a failure in check mode
module.exit_json(changed=True, module.exit_json(changed=True,
msg="exception: %s" % e.message) msg="exception: %s" % e)
else: else:
module.fail_json(msg=e.message) module.fail_json(msg="exception: %s" % e)
else: else:
module.exit_json(**d) module.exit_json(**d)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment