From 2b147d4642d65ee3d62de43af4966f6cef9642e2 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Mon, 19 Sep 2011 11:45:27 +0200 Subject: [PATCH] fix: correct substitution order --- lib/git_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git_helper.py b/lib/git_helper.py index e978ccb..21d65ac 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -289,9 +289,9 @@ def git_get_treeish(refname): stdout_str = cmdobj.stdout.read().split(" ") logger.debug( 'found treeish "%s" for refspec "%s", log: "%s"' % ( - refname, stdout_str[0], - " ".join(stdout_str[1:]) + refname, + " ".join(stdout_str[1:]).rstrip() ) ) return stdout_str[0] -- 2.39.5