brew: Fixed a bug with remote repository builds

Upstream-commit: 62c0f433fa794092fe2a795784f36fbac7b9feec
Component: engine
This commit is contained in:
Joffrey F
2013-08-14 05:05:44 +02:00
parent 49824271a4
commit eee3eae225

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