traceback.print_tb(exc_traceback, file=fp)
fp.seek(0)
stack = fp.read()
+ logger.add_link(_("Dead Link"),
+ sat_command_name,
+ code,
+ "ERROR: %s TRACEBACK: %s" % (error,
+ stack.replace('"',"'")))
-
# Print the status of the command
if code == 0:
nb_pass += 1
gui = None
if options.publish:
+ logger.write(src.printcolors.printcInfo(
+ _("Initialize the xml boards : ")), 5)
+ logger.flush()
+
# Copy the stylesheets in the log directory
log_dir = runner.cfg.USER.log_dir
xsl_dir = os.path.join(runner.cfg.VARS.srcDir, 'xsl')
runner.cfg.VARS.datehour,
file_boards = options.input_boards)
+ logger.write(src.printcolors.printcSuccess("OK"), 5)
+ logger.write("\n\n", 5)
+ logger.flush()
+
# Display the list of the xml files
logger.write(src.printcolors.printcInfo(("Here is the list of published"
" files :\n")), 4)
file_name = os.path.basename(file_path)
logger.write("%s\n" % file_path, 4)
logger.add_link(file_name, "board", 0, board)
-
+
logger.write("\n", 4)
-
+
today_jobs.gui = gui
interruped = False