From: Haoyang LIU <tttturtleruss@gmail.com>
To: Jonathan Corbet <corbet@lwn.net>,
Yanteng Si <si.yanteng@linux.dev>,
Dongliang Mu <dzm91@hust.edu.cn>
Cc: hust-os-kernel-patches@googlegroups.com,
Haoyang LIU <tttturtleruss@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] scripts/checktransupdate.py: fix missing f prefix in f-string
Date: Tue, 12 Aug 2025 01:07:04 +0800 [thread overview]
Message-ID: <20250811170704.99420-1-tttturtleruss@gmail.com> (raw)
add a f prefix for f-string
Fixes: 63e96ce050e5 ("scripts: fix all issues reported by pylint")
Signed-off-by: Haoyang LIU <tttturtleruss@gmail.com>
---
scripts/checktransupdate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checktransupdate.py b/scripts/checktransupdate.py
index e39529e46c3d..b57fb9139f5f 100755
--- a/scripts/checktransupdate.py
+++ b/scripts/checktransupdate.py
@@ -131,7 +131,7 @@ def check_per_file(file_path):
opath = get_origin_path(file_path)
if not os.path.isfile(opath):
- logging.error("Cannot find the origin path for {file_path}")
+ logging.error(f"Cannot find the origin path for {file_path}")
return
o_from_head = get_latest_commit_from(opath, "HEAD")
--
2.50.1
next reply other threads:[~2025-08-11 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 17:07 Haoyang LIU [this message]
2025-08-11 17:24 ` [PATCH] scripts/checktransupdate.py: fix missing f prefix in f-string Jonathan Corbet
2025-08-12 5:08 ` Dongliang Mu
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=20250811170704.99420-1-tttturtleruss@gmail.com \
--to=tttturtleruss@gmail.com \
--cc=corbet@lwn.net \
--cc=dzm91@hust.edu.cn \
--cc=hust-os-kernel-patches@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=si.yanteng@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.