1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

tools/genboardscfg.py: fix a bug of MAINTAINERS handling

This patch fixes a minor problem:
If a block without "F:   configs/*_defconfig" is followed by another
block with "F:   configs/*_defconfig", the maintainers from the
former block are squashed into the latter.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
Masahiro Yamada
2014-08-22 14:10:43 +09:00
committed by Tom Rini
parent 124c599875
commit 9c2d60c378

View File

@@ -142,7 +142,7 @@ class MaintainersDatabase:
targets.append(front)
elif tag == 'S:':
status = rest
elif line == '\n' and targets:
elif line == '\n':
for target in targets:
self.database[target] = (status, maintainers)
targets = []