All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [PATCH v4 2/3] binman: Support help messages for missing blobs
Date: Sat, 26 Sep 2020 18:59:40 -0700	[thread overview]
Message-ID: <CAPnjgZ0f7sTD3vLQpckZyybYzPjNZ3o6c9MJLpn1C+01DdQDfg@mail.gmail.com> (raw)
In-Reply-To: <85bf592d-f87d-c907-480d-46583b6ab2bd@gmail.com>

On 09/09/2020 02:56, Simon Glass wrote:
> On Tue, 8 Sep 2020 at 10:37, Alper Nebi Yasak <alpernebiyasak@gmail.com> wrote:
>>
>>     result = {}
>>     tag = None
>>     for line in my_data.decode('utf-8').splitlines():
>>         m_tag = re_tag.match(line)
>>         if line.startswith('#'):
>>             continue
>>         elif m_tag:
>>             tag = m_tag.group(1)
>>             result[tag] = []
>>         elif tag:
>>             result[tag].append(line)
>>     for tag, lines in result.items():
>>         result[tag] = "".join(lines).rstrip()
>>     return result
>>
>
> Yes that is easier, thank you. I'll use this in v4 and perhaps you can
> reply with your sign-off.

The code fragment above is:

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

Applied to u-boot-dm/next, thanks!

  parent reply	other threads:[~2020-09-27  1:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06 16:39 [PATCH v4 0/3] binman: Further updates for FIT support Simon Glass
2020-09-06 16:39 ` [PATCH v4 1/3] binman: Allow selecting default FIT configuration Simon Glass
2020-09-08 17:33   ` Alper Nebi Yasak
2020-09-08 23:56     ` Simon Glass
2020-09-09 20:27       ` Alper Nebi Yasak
2020-09-27  1:59       ` Simon Glass
2020-09-06 16:39 ` [PATCH v4 2/3] binman: Support help messages for missing blobs Simon Glass
2020-09-08 16:37   ` Alper Nebi Yasak
2020-09-08 23:56     ` Simon Glass
2020-09-09 20:29       ` Alper Nebi Yasak
2020-09-27  1:59       ` Simon Glass [this message]
2020-09-06 16:39 ` [PATCH v4 3/3] binman: sunxi: Add help message for missing sunxi ATF BL31 Simon Glass
2020-09-07  8:44 ` [PATCH v4 0/3] binman: Further updates for FIT support Michal Simek
2020-09-07 13:57   ` Simon Glass
2020-09-12 20:43   ` Samuel Holland
2020-09-14  6:48     ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ0f7sTD3vLQpckZyybYzPjNZ3o6c9MJLpn1C+01DdQDfg@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.