summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBernhard Kirchen <bernhard.kirchen@mbconnectline.com>2021-01-29 15:10:08 +0100
committerSimon Glass <sjg@chromium.org>2021-03-03 19:17:25 -0700
commit67637d4b5ab70896c8a881022126f7c61f90a0f1 (patch)
tree4b6cf2f2027636d29deec0194242d371b8691d00 /tools
parent939b04e9cf57a838be7e590340a4e84610e76433 (diff)
downloadu-boot-67637d4b5ab70896c8a881022126f7c61f90a0f1.tar.gz
u-boot-67637d4b5ab70896c8a881022126f7c61f90a0f1.tar.xz
u-boot-67637d4b5ab70896c8a881022126f7c61f90a0f1.zip
fix patman --limit-cc option
patman's --limit-cc option parses its argument to an integer and uses that to trim the list of CC recipients to a particular maximum. but that only works if the cc variable is a list, which it is not. Signed-off-by: Bernhard Kirchen <bernhard.kirchen@mbconnectline.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/series.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py
index a6746e87c4..41a11732fc 100644
--- a/tools/patman/series.py
+++ b/tools/patman/series.py
@@ -271,7 +271,7 @@ class Series(dict):
cc += get_maintainer.GetMaintainer(dir_list, commit.patch)
for x in set(cc) & set(settings.bounces):
print(col.Color(col.YELLOW, 'Skipping "%s"' % x))
- cc = set(cc) - set(settings.bounces)
+ cc = list(set(cc) - set(settings.bounces))
if limit is not None:
cc = cc[:limit]
all_ccs += cc