mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
patman: Convert print statements to Python 3
Update all print statements to be functions, as required by Python 3. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -397,11 +397,11 @@ def EmailPatches(series, cover_fname, args, dry_run, raise_on_error, cc_fname,
|
||||
git_config_to = command.Output('git', 'config', 'sendemail.to',
|
||||
raise_on_error=False)
|
||||
if not git_config_to:
|
||||
print ("No recipient.\n"
|
||||
"Please add something like this to a commit\n"
|
||||
"Series-to: Fred Bloggs <f.blogs@napier.co.nz>\n"
|
||||
"Or do something like this\n"
|
||||
"git config sendemail.to u-boot@lists.denx.de")
|
||||
print("No recipient.\n"
|
||||
"Please add something like this to a commit\n"
|
||||
"Series-to: Fred Bloggs <f.blogs@napier.co.nz>\n"
|
||||
"Or do something like this\n"
|
||||
"git config sendemail.to u-boot@lists.denx.de")
|
||||
return
|
||||
cc = BuildEmailList(list(set(series.get('cc')) - set(series.get('to'))),
|
||||
'--cc', alias, raise_on_error)
|
||||
|
Reference in New Issue
Block a user