From: Holger Levsen Date: Thu, 1 Sep 2011 15:08:51 +0000 (+0200) Subject: prettier output X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0cd523d7fe3d9778ad2ea6ae0d2833e023a5cb83;p=profitbricks%2Fjenkins-build-scripts.git prettier output --- diff --git a/build.py b/build.py index 2963664..a485180 100755 --- a/build.py +++ b/build.py @@ -403,8 +403,8 @@ if __name__ == '__main__': ) if not ret: build_log=os.path.join('../build-area/result/', '%s_%s_amd64.build' % (pkg_name, version)) - for line in build_log: - logger.info(read_file(line) + for line in read_file(build_log): + logger.info(line) #logger.debug(os.listdir('./')) #logger.debug(os.listdir('../')) create_dput_cfg()