]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
not as pretty as i want it
authorHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 16:59:36 +0000 (18:59 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 16:59:36 +0000 (18:59 +0200)
build.py

index fd44cf0de22f5eab9027e9ab38ff9d5d0e23170c..3c9432852ebea76f1761997a4e83325ef8bee506 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -300,10 +300,10 @@ if __name__ == '__main__':
 
         if ret:
             raise Exception('git log was not successfull')
-        git_log_output = map(
-                lambda x: x.rstrip(),
-                git_log.stdout.readlines()
-        )
+        #git_log_output = map(
+        #        lambda x: x.rstrip(),
+        #        git_log.stdout.readlines()
+        #)
 
 
         cmd = [
@@ -316,7 +316,7 @@ if __name__ == '__main__':
                 '--distribution',
                 '%s' %(options.distribution),
                 '--',
-                '%s' %(''.join(git_log_output,'\n'))
+                '%s' %(''.join(git_log.stdout.read()))
         ]
         #        '%s' %(git_log_output)
         #        '%s' %(''.join(git_log.stdout.read()))