summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-24 04:18:11 +0300
committerSimon Glass <sjg@chromium.org>2023-03-08 22:40:49 +0300
commit8dd7be7e28cbee524e32f294c366403f2585f0b1 (patch)
tree1e6e0bbf7848a49208b7626fb998c0d6308348f7 /tools
parent5cfb73b5902d46f656657c765c61e84980d9989c (diff)
downloadu-boot-8dd7be7e28cbee524e32f294c366403f2585f0b1.tar.xz
buildman: Fix use of a type as a variable
Using 'str' as a variable makes it impossible to use it as a type in the same function. Fix this by using a different name. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/buildman/control.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index f765fe3653..aacfb2fc0d 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -261,9 +261,9 @@ def DoBuildman(options, args, toolchains=None, make_func=None, brds=None,
count += 1 # Build upstream commit also
if not count:
- str = ("No commits found to process in branch '%s': "
+ msg = ("No commits found to process in branch '%s': "
"set branch's upstream or use -c flag" % options.branch)
- sys.exit(col.build(col.RED, str))
+ sys.exit(col.build(col.RED, msg))
if options.work_in_output:
if len(selected) != 1:
sys.exit(col.build(col.RED,