From: Mathias Klette Date: Fri, 16 Sep 2011 17:42:24 +0000 (+0200) Subject: fix: wrong syntax X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b2f13c83b502f47500c7590b088ebccac43687ed;p=profitbricks%2Fjenkins-build-scripts.git fix: wrong syntax --- diff --git a/lib/git_helper.py b/lib/git_helper.py index 9312a4c..421d10b 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -250,9 +250,9 @@ def git_get_treeish(refname): """ cmd = [ GIT, - 'show --oneline', + 'show', '--oneline', '%s' % refname, - '|awk \'{print $1\}\'' + '|awk \'{print $1}\'' ] cmdobj = subprocess.Popen( cmd,