Permalink
Browse files

set max_items property in ResultSet.endElement

Used for CloudFront pagination.
  • Loading branch information...
1 parent 3057581 commit 788a526ad588e89efa687a1f35bcf7fd2a1d511d @jtriley jtriley committed Jun 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 boto/resultset.py
View
@@ -102,6 +102,8 @@ def endElement(self, name, value, connection):
self.bucket = value
elif name == 'MaxUploads':
self.max_uploads = int(value)
+ elif name == 'MaxItems':
+ self.max_items = int(value)
elif name == 'Prefix':
self.prefix = value
elif name == 'return':

0 comments on commit 788a526

Please sign in to comment.