forked from sig_core/toolkit
try to fix s3 pagination
This commit is contained in:
parent
cab05e961f
commit
37e5c3fe40
@ -566,7 +566,7 @@ class Shared:
|
|||||||
s3 = boto3.client('s3')
|
s3 = boto3.client('s3')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
res = s3.list_objects(Bucket=s3_bucket)['Contents']
|
res = s3.list_objects(Bucket=s3_bucket)
|
||||||
except:
|
except:
|
||||||
logger.error(
|
logger.error(
|
||||||
'[' + Color.BOLD + Color.RED + 'FAIL' + Color.END + '] ' +
|
'[' + Color.BOLD + Color.RED + 'FAIL' + Color.END + '] ' +
|
||||||
|
Loading…
Reference in New Issue
Block a user