From fbff38c5866bb03e6f736443a8ba6ee981245bae Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 1 Sep 2011 17:22:54 +0200 Subject: [PATCH] logger is strange --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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('../')) -- 2.39.5