[verify] move report template for job to jinja2
Change-Id: I1628ba84778849edaf1e1224b1fb50a8b45d8324
This commit is contained in:
parent
13f61130c1
commit
061346c41e
@ -119,8 +119,7 @@ def do_compare(uuid_1, uuid_2):
|
||||
|
||||
|
||||
def render_page(**render_vars):
|
||||
# TODO(andreykurilin): port template to jinja2
|
||||
template = utils.get_template("ci/index_verify.mako")
|
||||
template = utils.get_template("ci/index_verify.html")
|
||||
with open(os.path.join(BASE_DIR, "extra/index.html"), "w") as f:
|
||||
f.write(template.render(**render_vars))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user