summaryrefslogtreecommitdiff
path: root/tools/genboardscfg.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-22 05:10:43 (GMT)
committerTom Rini <trini@ti.com>2014-08-28 21:18:48 (GMT)
commit9c2d60c37866e302600ff8aa479b834712478403 (patch)
tree9a08a80a3361ae12f80692ee5ed197f41a333247 /tools/genboardscfg.py
parent124c5998755ef6778ca43acab27372fc470b8366 (diff)
downloadu-boot-fsl-qoriq-9c2d60c37866e302600ff8aa479b834712478403.tar.xz
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 e92e4f8..f179803 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 = []