提交 d4fec9a1 编写于 作者: O Olav Philipp Henschel

Fix test provider checking out always "master" branch

Var "lbranch" was hard coded to "master", so it was never copied from var "branch".
上级 a84c993b
......@@ -32,7 +32,7 @@ class GitRepoHelper(object):
Helps to deal with git repos, mostly fetching content from a repo
"""
def __init__(self, uri, branch='master', lbranch='master', commit=None,
def __init__(self, uri, branch='master', lbranch=None, commit=None,
destination_dir=None, base_uri=None):
"""
Instantiates a new GitRepoHelper
......@@ -177,7 +177,7 @@ class GitRepoHelper(object):
self.checkout()
def get_repo(uri, branch='master', lbranch='master', commit=None,
def get_repo(uri, branch='master', lbranch=None, commit=None,
destination_dir=None, base_uri=None):
"""
Utility function that retrieves a given git code repository.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册