diff mbox

[U-Boot] tools/genboardscfg.py: fix a bug of MAINTAINERS handling

Message ID 1408684243-13469-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Aug. 22, 2014, 5:10 a.m. UTC
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(-)

Comments

Tom Rini Aug. 29, 2014, 2:40 p.m. UTC | #1
On Fri, Aug 22, 2014 at 02:10:43PM +0900, Masahiro Yamada wrote:

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

Applied to u-boot/master, thanks!
diff mbox

Patch

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 = []