yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: alexis.lothore@bootlin.com
To: yocto@lists.yoctoproject.org
Cc: alexandre.belloni@bootlin.com, thomas.petazzoni@bootlin.com
Subject: [yocto-autobuilder-helper][PATCH v2 1/2]  scripts/generate-testresult-index.py: fix typo in template var name
Date: Fri, 24 Mar 2023 11:24:06 +0100	[thread overview]
Message-ID: <20230324102407.35348-2-alexis.lothore@bootlin.com> (raw)
In-Reply-To: <20230324102407.35348-1-alexis.lothore@bootlin.com>

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



  reply	other threads:[~2023-03-24 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-24 10:24 [yocto-autobuilder-helper][PATCH v2 0/2] expose regression reports on web page alexis.lothore
2023-03-24 10:24 ` alexis.lothore [this message]
2023-03-24 10:24 ` [yocto-autobuilder-helper][PATCH v2 2/2] scripts/generate-testresult-index.py: " alexis.lothore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230324102407.35348-2-alexis.lothore@bootlin.com \
    --to=alexis.lothore@bootlin.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).