diff options
author | Simon Glass <sjg@chromium.org> | 2025-05-07 18:08:52 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:42 +0100 |
commit | 8896247b5833b1d357774d069c557cbb4a453a48 (patch) | |
tree | fb6b9c532ae5bb546b2a9512fd72556cddd3dced /tools/patman/send.py | |
parent | a5afb75c6dcadeb22bb24d931170766f7af4c58c (diff) |
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 <sjg@chromium.org>
Diffstat (limited to 'tools/patman/send.py')
-rw-r--r-- | tools/patman/send.py | 4 |
1 files 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 |