All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scripts/checktransupdate.py: fix missing f prefix in f-string
@ 2025-08-11 17:07 Haoyang LIU
  2025-08-11 17:24 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Haoyang LIU @ 2025-08-11 17:07 UTC (permalink / raw)
  To: Jonathan Corbet, Yanteng Si, Dongliang Mu
  Cc: hust-os-kernel-patches, Haoyang LIU, linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-12  5:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11 17:07 [PATCH] scripts/checktransupdate.py: fix missing f prefix in f-string Haoyang LIU
2025-08-11 17:24 ` Jonathan Corbet
2025-08-12  5:08   ` Dongliang Mu

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.