ez_setup.py 文件源码

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

项目:BackManager 作者: linuxyan 项目源码 文件源码
def _clean_check(cmd, target):
    """
    Run the command to download target.

    If the command fails, clean up before re-raising the error.
    """
    try:
        subprocess.check_call(cmd)
    except subprocess.CalledProcessError:
        if os.access(target, os.F_OK):
            os.unlink(target)
        raise
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号