brew: Fixed a bug with remote repository builds

This commit is contained in:
Joffrey F 2013-08-14 05:05:44 +02:00
parent 2cebe09924
commit 62c0f433fa
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ def build_library(repository=None, branch=None, namespace=None, push=False,
logger.info('Cloning docker repo from {0}, branch: {1}'.format(
repository, branch))
try:
dst_folder = git.clone_branch(repository, branch)
rep, dst_folder = git.clone_branch(repository, branch)
except Exception as e:
logger.exception(e)
logger.error('Source repository could not be fetched. Check '
@ -182,4 +182,4 @@ class Summary(object):
if logger:
logger.info(s + success + details)
else:
print s, success, details
print s, success, details