summaryrefslogtreecommitdiffstats
path: root/tools/genboardscfg.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-22 14:10:43 +0900
committerTom Rini <trini@ti.com>2014-08-28 17:18:48 -0400
commit9c2d60c37866e302600ff8aa479b834712478403 (patch)
tree9a08a80a3361ae12f80692ee5ed197f41a333247 /tools/genboardscfg.py
parent124c5998755ef6778ca43acab27372fc470b8366 (diff)
downloadtalos-obmc-uboot-9c2d60c37866e302600ff8aa479b834712478403.tar.gz
talos-obmc-uboot-9c2d60c37866e302600ff8aa479b834712478403.zip
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>
Diffstat (limited to 'tools/genboardscfg.py')
-rwxr-xr-xtools/genboardscfg.py2
1 files changed, 1 insertions, 1 deletions
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 = []
OpenPOWER on IntegriCloud