From: Robin Wittler Date: Tue, 9 Aug 2011 15:47:33 +0000 (+0200) Subject: add debug msg X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=fae851d6239390c2bdd167bc04979c6a112ccf8b;p=profitbricks%2Fjenkins-build-scripts.git add debug msg --- diff --git a/build.py b/build.py index 3629615..8ae94bf 100755 --- a/build.py +++ b/build.py @@ -297,10 +297,10 @@ if __name__ == '__main__': if ret: raise Exception('git log was not successfull') -# git_log_output = map( -# lambda x: x.rstrip(), -# cmd_obj.stdout.readlines() -# ) + git_log_output = map( + lambda x: x.rstrip(), + cmd_obj.stdout.readlines() + ) cmd = [ @@ -313,7 +313,7 @@ if __name__ == '__main__': '--distribution', '%s' %(options.distribution), '--', - '%s' %(git_log.stdout.read()) + '%s' %(git_log_output) ] logger.debug('This is cwd: %s' %(os.getcwd()))