From d54d852323a3526434c1e7f394f2450bfd5a73ce Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Tue, 3 Jan 2012 13:44:02 +0100 Subject: [PATCH] Revert "fix for msg in git_helper.py" This reverts commit 46e3673b50c12fd45aff8d707102f1a354f15ff3. --- lib/git_helper.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) 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) -- 2.39.5