From 8896247b5833b1d357774d069c557cbb4a453a48 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 7 May 2025 18:08:52 +0200 Subject: [PATCH] patman: Correct use of str in code Since str() is a reserved function we should not use it as a variable. Fix this in the send module. Signed-off-by: Simon Glass --- tools/patman/send.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/patman/send.py b/tools/patman/send.py index 7989fe32f92..009ea6bab5f 100644 --- a/tools/patman/send.py +++ b/tools/patman/send.py @@ -144,9 +144,9 @@ def prepare_patches(col, branch, count, start, end, ignore_binary, signoff, start) if not count: - str = 'No commits found to process - please use -c flag, or run:\n' \ + msg = 'No commits found to process - please use -c flag, or run:\n' \ ' git branch --set-upstream-to remote/branch' - sys.exit(col.build(col.RED, str)) + sys.exit(col.build(col.RED, msg)) # Read the metadata from the commits to_do = count - end -- 2.47.2