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>
This commit is contained in:
parent
5c724dc440
commit
2df3a01974
|
|
@ -419,10 +419,10 @@ def EmailPatches(series, cover_fname, args, dry_run, raise_on_error, cc_fname,
|
||||||
if cover_fname:
|
if cover_fname:
|
||||||
cmd.append(cover_fname)
|
cmd.append(cover_fname)
|
||||||
cmd += args
|
cmd += args
|
||||||
str = ' '.join(cmd)
|
cmdstr = ' '.join(cmd)
|
||||||
if not dry_run:
|
if not dry_run:
|
||||||
os.system(str)
|
os.system(cmdstr)
|
||||||
return str
|
return cmdstr
|
||||||
|
|
||||||
|
|
||||||
def LookupEmail(lookup_name, alias=None, raise_on_error=True, level=0):
|
def LookupEmail(lookup_name, alias=None, raise_on_error=True, level=0):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue