config.py 文件源码

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

项目:AerisCloud 作者: AerisCloud 项目源码 文件源码
def _try_setup_github():
    try:
        gh = Github(_ask_credentials=_github_ask_credentials,
                    _ask_2fa=_github_ask_2fa)
        _setup_github_orgs(gh)
    except GitHubError as e:
        if e.code == 401:
            _error('error: %s' % e.message)
            raise e
        _fatal('error: %s' % e.message)
    except BaseException as e:
        _fatal('error: %s' % e.message)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号