Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
is_truncated attribute now gets converted to a true boolean value rat…
Browse files Browse the repository at this point in the history
…her than a string. Fixes Issue-29.
  • Loading branch information
Mitch.Garnaat authored and Mitch.Garnaat committed Feb 4, 2007
1 parent 3cfe320 commit c5f8cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto/resultset.py
Expand Up @@ -36,7 +36,7 @@ def startElement(self, name, attrs, connection):

def endElement(self, name, value, connection):
if name == 'IsTruncated':
self.is_truncated = value
self.is_truncated = bool(value)
elif name == 'Marker':
self.marker = value
elif name == 'Prefix':
Expand Down

0 comments on commit c5f8cad

Please sign in to comment.