def list(self):
cl = []
pl = []
for c in self.content_list:
key = c.key
if self.xml_map:
for k, v in self.xml_map.items():
key = key.replace(v, k)
key = unescape(key, self.xml_unescape_table)
cl.append((key, c.last_modified, c.etag, c.size, c.owner.id, c.owner.display_name, c.storage_class))
for p in self.prefix_list:
pl.append(p)
return (cl, pl)
评论列表
文章目录