From: Holger Levsen Date: Thu, 1 Sep 2011 15:22:54 +0000 (+0200) Subject: logger is strange X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=fbff38c5866bb03e6f736443a8ba6ee981245bae;p=profitbricks%2Fjenkins-build-scripts.git logger is strange --- diff --git a/build.py b/build.py index c84d540..862c652 100755 --- a/build.py +++ b/build.py @@ -404,8 +404,8 @@ if __name__ == '__main__': if not ret: build_log=os.path.join('../build-area/result/', '%s_%s_amd64.build' % (pkg_name, version)) fh = open(build_log, 'r') - for line in fh.readlines(): - logger.info(line) + #for line in fh.readlines(): + logger.info('%s' % (fh.read())) fh.close() #logger.debug(os.listdir('./')) #logger.debug(os.listdir('../'))