From 46e3673b50c12fd45aff8d707102f1a354f15ff3 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Tue, 3 Jan 2012 00:05:47 +0100 Subject: [PATCH] fix for msg in git_helper.py --- lib/git_helper.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/git_helper.py b/lib/git_helper.py index fb3d74e..d932a21 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -169,7 +169,12 @@ def git_checkout_submodule(): ) ret = cmdobj.wait() out = cmdobj.stdout.read() - msg = '%s returned %s: ' % (' '.join(cmd), ret, out) + msg = '%s returned %s:\n%s' % + ( + ' '.join(cmd), + ret, + out, + ) if ret: logger.error(msg) @@ -189,7 +194,12 @@ def git_checkout_submodule(): ) ret = cmdobj.wait() out = cmdobj.stdout.read() - msg = '%s returned %s: ' % (' '.join(cmd), ret, out) + msg = '%s returned %s:\n%s' % + ( + ' '.join(cmd), + ret, + out, + ) if ret: logger.error(msg) -- 2.39.5