Commit 8956c636 by James Cammarata

Remove incorrect use of module.fail_json during import check for s3

Fixes #8698
parent d63092ea
...@@ -129,7 +129,8 @@ import hashlib ...@@ -129,7 +129,8 @@ import hashlib
try: try:
import boto import boto
except ImportError: except ImportError:
module.fail_json(msg="boto required for this module") print "failed=True msg='boto required for this module'"
sys.exit(1)
def key_check(module, s3, bucket, obj): def key_check(module, s3, bucket, obj):
try: try:
......
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