From 62c0f433fa794092fe2a795784f36fbac7b9feec Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Wed, 14 Aug 2013 05:05:44 +0200 Subject: [PATCH] brew: Fixed a bug with remote repository builds --- contrib/brew/brew/brew.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/brew/brew/brew.py b/contrib/brew/brew/brew.py index 22fe5b7b40..0d9f0f3e98 100644 --- a/contrib/brew/brew/brew.py +++ b/contrib/brew/brew/brew.py @@ -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 \ No newline at end of file + print s, success, details