From: Mathias Klette Date: Mon, 2 Jan 2012 23:05:47 +0000 (+0100) Subject: fix for msg in git_helper.py X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=46e3673b50c12fd45aff8d707102f1a354f15ff3;p=profitbricks%2Fjenkins-build-scripts.git fix for msg in git_helper.py --- 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)