From abfd67cccf8e1a4330ab9601813dd6675c84a9c5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 7 Apr 2025 22:51:46 +1200 Subject: 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 --- tools/patman/func_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/patman/func_test.py') diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index b96bf7bd917..2a1731aeec9 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -253,7 +253,7 @@ class TestFunctional(unittest.TestCase): series.DoChecks() cc_file = series.MakeCcFile(process_tags, cover_fname, not ignore_bad_tags, add_maintainers, - None, get_maintainer_script) + None, get_maintainer_script, alias) cmd = gitutil.email_patches( series, cover_fname, args, dry_run, not ignore_bad_tags, cc_file, alias, in_reply_to=in_reply_to, thread=None) -- cgit v1.2.3