class ContainerListing(object):
def __init__(self, name, prefix, marker, max_keys, is_truncated,
contents=None, common_prefixes=None):
+ precondition(isinstance(is_truncated, str))
self.name = name
self.prefix = prefix
self.marker = marker
return ContainerItem(key, modification_date, etag, size, storage_class)
contents = map(_make_containeritem, items)
- return ContainerListing(self._container_name, prefix, None, 10000, False, contents=contents)
+ return ContainerListing(self._container_name, prefix, None, 10000, "false", contents=contents)
d.addCallback(_parse_list)
return d