diff mbox series

[yocto-autobuilder-helper,v2,1/2] scripts/generate-testresult-index.py: fix typo in template var name

Message ID 20230324102407.35348-2-alexis.lothore@bootlin.com
State New
Headers show
Series expose regression reports on web page | expand

Commit Message

Alexis Lothoré March 24, 2023, 10:24 a.m. UTC
From: Alexis Lothoré <alexis.lothore@bootlin.com>

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
---
 scripts/generate-testresult-index.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/generate-testresult-index.py b/scripts/generate-testresult-index.py
index 1fc9f41..09d2edb 100755
--- a/scripts/generate-testresult-index.py
+++ b/scripts/generate-testresult-index.py
@@ -12,7 +12,7 @@  import json
 import subprocess
 from jinja2 import Template
 
-index_templpate = """
+index_template = """
 <!DOCTYPE html>
 <html>
 <head>
@@ -181,6 +181,6 @@  for build in sorted(os.listdir(path), key=keygen, reverse=True):
                     with open(f + "/resulttool-done.log", "a+") as tf:
                         tf.write("\n")
 
-t = Template(index_templpate)
+t = Template(index_template)
 with open(os.path.join(path, "index.html"), 'w') as f:
     f.write(t.render(entries = entries))