Commit 5dff844d authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini

tools/ pick up also commented maitainers

We are still keeping invalid email addressed in MAINTAINERS
because they carry information.

The problem is that scripts/ adds emails in the
"M:" field including invalid ones.

We want to comment out invalid email addresses in MAINTAINERS
to prevent scripts/ from picking them up.
On the other hand, we want to collect them for boards.cfg
to know the last known maintainer of each board.

This commit adjusts tools/ to parse also
the commented "M:" fields, which is useful for the next commit.
Signed-off-by: default avatarMasahiro Yamada <>
parent 129acd4c
......@@ -328,6 +328,9 @@ class MaintainersDatabase:
maintainers = []
status = '-'
for line in open(file):
# Check also commented maintainers
if line[:3] == '#M:':
line = line[1:]
tag, rest = line[:2], line[2:].strip()
if tag == 'M:':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment