]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix: wrong syntax
authorMathias Klette <mathias.klette@profitbricks.com>
Fri, 16 Sep 2011 17:42:24 +0000 (19:42 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Fri, 16 Sep 2011 17:42:24 +0000 (19:42 +0200)
lib/git_helper.py

index 9312a4cac8f248f971b5fbc1c361c866bdba673a..421d10b1981672a2cd4779f0c7ed2c0bf7a15d71 100644 (file)
@@ -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,