diff --git a/mass_s3/mass_s3.py b/mass_s3/mass_s3.py index b2112a2..095361d 100644 --- a/mass_s3/mass_s3.py +++ b/mass_s3/mass_s3.py @@ -82,6 +82,8 @@ class MassS3: continue objects.append(item['Key']) + self.logger.debug('Retrieved ' + str(len(list_objects_response['Contents'])) + ' objects; kept ' + str(len(objects)) + ' so far') + if 'NextContinuationToken' in list_objects_response: args['ContinuationToken'] = list_objects_response['NextContinuationToken'] else: