parent
d63092ea45
commit
8956c636a5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue