Index: boto/s3/bucketlistresultset.py |
diff --git a/boto/s3/bucketlistresultset.py b/boto/s3/bucketlistresultset.py |
index 01236632bb9ef97c399beeb5d095f9fbc953d2b1..14b0f5d6813009c01e51459b1519a66ec1757611 100644 |
--- a/boto/s3/bucketlistresultset.py |
+++ b/boto/s3/bucketlistresultset.py |
@@ -52,7 +52,8 @@ class BucketListResultSet: |
def __iter__(self): |
return bucket_lister(self.bucket, prefix=self.prefix, |
- delimiter=self.delimiter, marker=self.marker, headers=self.headers) |
+ delimiter=self.delimiter, marker=self.marker, |
+ headers=self.headers) |
def versioned_bucket_lister(bucket, prefix='', delimiter='', |
key_marker='', version_id_marker='', headers=None): |
@@ -64,7 +65,8 @@ def versioned_bucket_lister(bucket, prefix='', delimiter='', |
while more_results: |
rs = bucket.get_all_versions(prefix=prefix, key_marker=key_marker, |
version_id_marker=version_id_marker, |
- delimiter=delimiter, headers=headers) |
+ delimiter=delimiter, headers=headers, |
+ max_keys=999) |
for k in rs: |
yield k |
key_marker = rs.next_key_marker |