]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Revert "fix for msg in git_helper.py"
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 3 Jan 2012 12:44:02 +0000 (13:44 +0100)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 3 Jan 2012 12:44:02 +0000 (13:44 +0100)
This reverts commit 46e3673b50c12fd45aff8d707102f1a354f15ff3.

lib/git_helper.py

index d932a21d8a98c4910605064cee206c8cd49d91d6..fb3d74ebcaf54a5a85d100b55020ebd296e72c3d 100644 (file)
@@ -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)