U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] tools/genboardscfg.py: fix a bug of MAINTAINERS handling
@ 2014-08-22  5:10 Masahiro Yamada
  2014-08-29 14:40 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2014-08-22  5:10 UTC (permalink / raw)
  To: u-boot

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>
---

 tools/genboardscfg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index 22a7761..3b662f7 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -199,7 +199,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 = []
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-29 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22  5:10 [U-Boot] [PATCH] tools/genboardscfg.py: fix a bug of MAINTAINERS handling Masahiro Yamada
2014-08-29 14:40 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox