From: Mathias Klette Date: Tue, 3 Jan 2012 12:44:02 +0000 (+0100) Subject: Revert "fix for msg in git_helper.py" X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d54d852323a3526434c1e7f394f2450bfd5a73ce;p=profitbricks%2Fjenkins-build-scripts.git Revert "fix for msg in git_helper.py" This reverts commit 46e3673b50c12fd45aff8d707102f1a354f15ff3. --- diff --git a/lib/git_helper.py b/lib/git_helper.py index d932a21..fb3d74e 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -169,12 +169,7 @@ def git_checkout_submodule(): ) ret = cmdobj.wait() out = cmdobj.stdout.read() - msg = '%s returned %s:\n%s' % - ( - ' '.join(cmd), - ret, - out, - ) + msg = '%s returned %s: ' % (' '.join(cmd), ret, out) if ret: logger.error(msg) @@ -194,12 +189,7 @@ def git_checkout_submodule(): ) ret = cmdobj.wait() out = cmdobj.stdout.read() - msg = '%s returned %s:\n%s' % - ( - ' '.join(cmd), - ret, - out, - ) + msg = '%s returned %s: ' % (' '.join(cmd), ret, out) if ret: logger.error(msg)