aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/func_test.py
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2018-06-07 20:45:06 +1200
committerSimon Glass <sjg@chromium.org>2018-06-23 08:03:43 -0600
commit4fb3502972db0faeb278f62effc0a4b07a355531 (patch)
treef25fc073a3230bc8f7b3b35eafa5577cd2537e06 /tools/patman/func_test.py
parent77b5ba5d2b94c5b028991c82782493f64bd4f392 (diff)
downloadu-boot-4fb3502972db0faeb278f62effc0a4b07a355531.zip
u-boot-4fb3502972db0faeb278f62effc0a4b07a355531.tar.gz
u-boot-4fb3502972db0faeb278f62effc0a4b07a355531.tar.bz2
patman: add option for limiting the Cc list
Many mailing-lists consider a long Cc list a sign of spam and will either drop the message or mark it for moderation. Because patman automatically invokes get_maintainer.pl the Cc list can expand unexpectedly. Allow the user to specify a limit for the Cc list. This limit is applied after removing any known bouncing addresses. By default no limit is applied. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r--tools/patman/func_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index 85372f3..3f7e0321 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -149,7 +149,8 @@ class TestFunctional(unittest.TestCase):
patchstream.InsertCoverLetter(cover_fname, series, count)
series.DoChecks()
cc_file = series.MakeCcFile(process_tags, cover_fname,
- not ignore_bad_tags, add_maintainers)
+ not ignore_bad_tags, add_maintainers,
+ None)
cmd = gitutil.EmailPatches(series, cover_fname, args,
dry_run, not ignore_bad_tags, cc_file,
in_reply_to=in_reply_to, thread=None)