Fix broken branch checkout

gitrefs were not working for the package builder. This was due to the
args being one off.
This commit is contained in:
Craig Tracey 2014-12-19 01:36:20 -05:00
parent 7a33cc5c28
commit 09d428918c
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ class PackageBuilder(Builder):
os.makedirs(project_src_path)
LOG.info("Fetching source code for '%s'", project.name)
repo = OpenstackGitRepo(project.giturl, project.gitref)
repo = OpenstackGitRepo(project.giturl, project.name,
project.gitref)
repo.clone(project_src_path)
# tell package users where this came from