def _submit_page_downloads(self, container, page_generator, options):
        try:
            list_page = next(page_generator)
        except __HOLE__:
            return None

        if list_page["success"]:
            objects = [o["name"] for o in list_page["listing"]]

            if options["shuffle"]:
                shuffle(objects)

            o_downs = [
                self.thread_manager.object_dd_pool.submit(
                    self._download_object_job, container, obj, options
                ) for obj in objects
            ]

            return o_downs
        else:
            raise list_page["error"]
dataset/ETHPy150Open openstack/python-swiftclient/swiftclient/service.py/SwiftService._submit_page_downloads