brew: Fixed a bug with remote repository builds

This commit is contained in:
Joffrey F 2013-08-14 05:05:44 +02:00
Родитель 2cebe09924
Коммит 62c0f433fa
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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