Browse Source

Provide some feedback during long list operations

master
Adam Pippin 4 years ago
parent
commit
bd42a83923
  1. 2
      mass_s3/mass_s3.py

2
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:

Loading…
Cancel
Save