gitlab_mr.py 文件源码

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

项目:gitlab-merge-request 作者: anti-social 项目源码 文件源码
def check_branch(project, branch):
    try:
        project.branches.get(branch)
    except GitlabGetError as e:
        err(
            'Cannot find branch [%(branch)s] for project [%(project)s]',
            {'branch': branch, 'project': project.path_with_namespace},
        )
    except GitlabError as e:
        err('Gitlab error: %s', e)
    except GitlabConnectionError as e:
        err('%s', e)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号