summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-29 15:31:25 -0600
committerSimon Glass <sjg@chromium.org>2017-06-08 20:21:59 -0600
commit2df3a01974a06145cc20c53d5f1309ccdb2b6946 (patch)
tree6db8d49c258a9d41a39b5d663fdd180e5ad7ea01 /tools
parent5c724dc4403c63b86fef8cccd2baa47cfa870986 (diff)
downloadu-boot-2df3a01974a06145cc20c53d5f1309ccdb2b6946.tar.gz
patman: Rename 'str' variable in EmailPatches()
This is not a good variable name in Python because 'str' is a type. It shows up highlighted in some editors. Rename it. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/gitutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py
index 167bda38fc..08be9377ce 100644
--- a/tools/patman/gitutil.py
+++ b/tools/patman/gitutil.py
@@ -419,10 +419,10 @@ def EmailPatches(series, cover_fname, args, dry_run, raise_on_error, cc_fname,
if cover_fname:
cmd.append(cover_fname)
cmd += args
- str = ' '.join(cmd)
+ cmdstr = ' '.join(cmd)
if not dry_run:
- os.system(str)
- return str
+ os.system(cmdstr)
+ return cmdstr
def LookupEmail(lookup_name, alias=None, raise_on_error=True, level=0):