diff scripts/build.py @ 245:a22ec8fce6c9

Store the reason(s) for build step failure in the database. Requires DB upgrade.
author cmlenz
date Mon, 03 Oct 2005 21:15:31 +0000
parents 24e91cbae6e0
children 0df178e07fdb
line wrap: on
line diff
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -56,7 +56,7 @@
                 print '-->', step.id
                 for type, category, generator, output in step.execute(recipe.ctxt):
                     if type == Recipe.ERROR:
-                        log.error('Failure in step "%s": %s', step.id, output)
+                        log.error(output)
                     elif type == Recipe.LOG and options.print_logs:
                         output.write(sys.stdout, newlines=True)
                     elif type == Recipe.REPORT and options.print_reports:
Copyright (C) 2012-2017 Edgewall Software