]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
prettier output
authorHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 15:06:42 +0000 (17:06 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 15:06:42 +0000 (17:06 +0200)
build.py

index 88a883457d07730d3606fc9c7434bf15f4c6185c..296366487a05c150078da76ea5fc174194f098c8 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -403,7 +403,8 @@ if __name__ == '__main__':
     )
     if not ret:
         build_log=os.path.join('../build-area/result/', '%s_%s_amd64.build' % (pkg_name, version))
-        logger.info(read_file(build_log))
+        for line in build_log:
+            logger.info(read_file(line)
     #logger.debug(os.listdir('./'))
     #logger.debug(os.listdir('../'))
     create_dput_cfg()