mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove incorrect use of module.fail_json during import check for s3
Fixes #8698
This commit is contained in:
parent
d63092ea45
commit
8956c636a5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue