debug.py 文件源码

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

项目:newsreap 作者: caronc 项目源码 文件源码
def upload_article(**kwargs):
    """
    this function gets called prior to an actual article upload

    If you return False from this function, you 'will' prevent
    the article from being uploaded.

    """
    logger.info(
        'DEBUG HOOK upload_article()\n{kwargs}'.format(
            kwargs=pformat(kwargs, indent=4, depth=2),
        )
    )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号