diff options
Diffstat (limited to 'boto/resultset.py')
-rw-r--r-- | boto/resultset.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/boto/resultset.py b/boto/resultset.py index 83052582..189a47a3 100644 --- a/boto/resultset.py +++ b/boto/resultset.py @@ -21,14 +21,15 @@ from boto.s3.user import User + class ResultSet(list): """ The ResultSet is used to pass results back from the Amazon services to the client. It is light wrapper around Python's :py:class:`list` class, - with some additional methods for parsing XML results from AWS. - Because I don't really want any dependencies on external libraries, - I'm using the standard SAX parser that comes with Python. The good news is - that it's quite fast and efficient but it makes some things rather + with some additional methods for parsing XML results from AWS. + Because I don't really want any dependencies on external libraries, + I'm using the standard SAX parser that comes with Python. The good news is + that it's quite fast and efficient but it makes some things rather difficult. You can pass in, as the marker_elem parameter, a list of tuples. @@ -54,7 +55,7 @@ class ResultSet(list): self.next_key_marker = None self.next_upload_id_marker = None self.next_version_id_marker = None - self.next_generation_marker= None + self.next_generation_marker = None self.version_id_marker = None self.is_truncated = False self.next_token = None @@ -132,6 +133,7 @@ class ResultSet(list): else: setattr(self, name, value) + class BooleanResult(object): def __init__(self, marker_elem=None): |