diff options
author | Simon Glass <sjg@chromium.org> | 2025-04-07 22:51:46 +1200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:41 +0100 |
commit | abfd67cccf8e1a4330ab9601813dd6675c84a9c5 (patch) | |
tree | 468867d3e193b8ff5d3254900c2f0dcf65f8341d /tools/patman/send.py | |
parent | e10201aa8ccb1fb681cafab4225399f4fdb8497d (diff) |
patman: Pass aliases to Series.MakeCcFile()
Rather than accessing settings directly, pass the aliases in, so that
we can do the same from tests. With further work this will allow the
tests to work without using settings.alias
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/send.py')
-rw-r--r-- | tools/patman/send.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patman/send.py b/tools/patman/send.py index 9481a95f2f9..16fae3114a4 100644 --- a/tools/patman/send.py +++ b/tools/patman/send.py @@ -87,7 +87,8 @@ def email_patches(col, series, cover_fname, patch_files, process_tags, its_a_go, smtp_server (str): SMTP server to use to send patches (None for default) """ cc_file = series.MakeCcFile(process_tags, cover_fname, not ignore_bad_tags, - add_maintainers, limit, get_maintainer_script) + add_maintainers, limit, get_maintainer_script, + settings.alias) # Email the patches out (giving the user time to check / cancel) cmd = '' |