oss_xml_handler.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:mongodb_backup_script 作者: hxt168 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号