1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #7632 from cdwertmann/patch-2

Don't use deprecated BaseException.message in keystone_user
This commit is contained in:
James Cammarata 2014-06-03 10:08:15 -05:00
commit 832d6c2f3b

View file

@ -337,9 +337,9 @@ def main():
if check_mode:
# If we have a failure in check mode
module.exit_json(changed=True,
msg="exception: %s" % e.message)
msg="exception: %s" % e)
else:
module.fail_json(msg=e.message)
module.fail_json(msg="exception: %s" % e)
else:
module.exit_json(**d)