Loading ci/setup_pages.py +3 −3 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ import subprocess import sys import csv from get_id_of_last_job_occurence import get_job_id from .get_id_of_last_job_occurence import get_job_id PUBLIC_FOL_MAGIC = "-public" PROJECT_ID_FLOAT_REPO = 49 Loading Loading @@ -75,12 +75,12 @@ def html_table_from_csv_file(csv_path, html_path): with open(html_path, "w") as html: print("<table>", file=html) header_row = "".join( [TABLE_HEADER_CELL.format(x for x in reader.fieldnames)] [TABLE_HEADER_CELL.format(x) for x in reader.fieldnames] ) print(header_row, file=html) for csv_row in reader: html_row = TABLE_ROW.format( "".join([TABLE_CELL.format(x for x in csv_row)]) "".join([TABLE_CELL.format(csv_row[x]) for x in reader.fieldnames]) ) print(html_row, file=html) print("</table>", file=html) Loading Loading
ci/setup_pages.py +3 −3 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ import subprocess import sys import csv from get_id_of_last_job_occurence import get_job_id from .get_id_of_last_job_occurence import get_job_id PUBLIC_FOL_MAGIC = "-public" PROJECT_ID_FLOAT_REPO = 49 Loading Loading @@ -75,12 +75,12 @@ def html_table_from_csv_file(csv_path, html_path): with open(html_path, "w") as html: print("<table>", file=html) header_row = "".join( [TABLE_HEADER_CELL.format(x for x in reader.fieldnames)] [TABLE_HEADER_CELL.format(x) for x in reader.fieldnames] ) print(header_row, file=html) for csv_row in reader: html_row = TABLE_ROW.format( "".join([TABLE_CELL.format(x for x in csv_row)]) "".join([TABLE_CELL.format(csv_row[x]) for x in reader.fieldnames]) ) print(html_row, file=html) print("</table>", file=html) Loading