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

Fixes #8698
reviewable/pr18780/r1
James Cammarata 10 years ago
parent 86dd24af92
commit 1c3e28767d

@ -129,7 +129,8 @@ import hashlib
try:
import boto
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):
try:

Loading…
Cancel
Save