release.py 文件源码

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

项目:lbryum 作者: lbryio 项目源码 文件源码
def get_gh_token():
    if 'GH_TOKEN' in os.environ:
        return os.environ['GH_TOKEN']
    else:
        print """
Please enter your personal access token. If you don't have one
See https://github.com/lbryio/lbry-app/wiki/Release-Script#generate-a-personal-access-token
for instructions on how to generate one.

You can also set the GH_TOKEN environment variable to avoid seeing this message
in the future"""
        return raw_input('token: ').strip()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号