[verify] move report template for job to jinja2

Change-Id: I1628ba84778849edaf1e1224b1fb50a8b45d8324
This commit is contained in:
Andrey Kurilin 2015-11-06 19:13:58 +02:00
parent 13f61130c1
commit 061346c41e

View File

@ -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))