From: Masahiro Yamada Date: Fri, 22 Aug 2014 05:10:43 +0000 (+0900) Subject: tools/genboardscfg.py: fix a bug of MAINTAINERS handling X-Git-Tag: v2025.01-rc5-pxa1908~14787 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=9c2d60c37866e302600ff8aa479b834712478403;p=u-boot.git 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 --- diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py index e92e4f8880..f179803549 100755 --- a/tools/genboardscfg.py +++ b/tools/genboardscfg.py @@ -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 = []