From 1c3e28767d2c7b3b3478830fe7d489da999b1ecb Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 20 Aug 2014 12:02:56 -0500 Subject: [PATCH] Remove incorrect use of module.fail_json during import check for s3 Fixes #8698 --- cloud/s3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/s3 b/cloud/s3 index dcb39b53736..80549fdd011 100644 --- a/cloud/s3 +++ b/cloud/s3 @@ -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: