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

index 296366487a05c150078da76ea5fc174194f098c8..a4851802d9dc8893c23f9d34e400f0d8897fd820 100755 (executable)
--- 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()