scrub_listings.py 文件源码

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

项目:rets-django 作者: bgirer 项目源码 文件源码
def handle_listing(listing_object, results_item):
        try:
            new_listing_object = extract_listing_data(results_item)
            updated_listing_object = update_core_listing_data(listing_object,
                                                              new_listing_object)
            updated_listing_object.save()
        except (ValueError, DataError, PG_DataError):
            logger.debug(traceback.print_exc(limit=None))
            raise ListingException()


# Handle premature exits
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号