From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] support: trivial fixes (typos and minor rewording) in gen-manual-lists.py
Date: Mon, 07 Oct 2013 19:27:00 +0200 [thread overview]
Message-ID: <5252EEE4.2030900@mind.be> (raw)
In-Reply-To: <1381072055-26797-1-git-send-email-s.martin49@gmail.com>
On 10/06/13 17:07, Samuel Martin wrote:
> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Regards,
Arnout
>
> ---
> Changes v1 -> v2:
> - split patch content
> - detail a bit more the commit message
> ---
> support/scripts/gen-manual-lists.py | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/support/scripts/gen-manual-lists.py b/support/scripts/gen-manual-lists.py
> index 3568843..5c81e1d 100755
> --- a/support/scripts/gen-manual-lists.py
> +++ b/support/scripts/gen-manual-lists.py
> @@ -107,7 +107,7 @@ def get_symbol_parents(item, root=None, enable_choice=False):
> parent = parent.get_parent()
> if isinstance(root, kconfiglib.Menu) or \
> (enable_choice and isinstance(root, kconfiglib.Choice)):
> - parents.append("") # Dummy empty parrent to get a leading arrow ->
> + parents.append("") # Dummy empty parent to get a leading arrow ->
> parents.reverse()
> return parents
>
> @@ -126,15 +126,14 @@ def format_asciidoc_table(root, get_label_func, filter_func=lambda x: True,
> :param sub_menu: Output the column with the sub-menu path
>
> """
> - def _format_entry(label, parents, sub_menu):
> + def _format_entry(item, parents, sub_menu):
> """ Format an asciidoc table entry.
>
> """
> if sub_menu:
> - return "| {0:<40} <| {1}\n".format(label, " -> ".join(parents))
> + return "| {0:<40} <| {1}\n".format(item, " -> ".join(parents))
> else:
> - return "| {0:<40}\n".format(label)
> -
> + return "| {0:<40}\n".format(item)
> lines = []
> for item in get_symbol_subset(root, filter_func):
> if not item.is_symbol() or not item.prompts:
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
prev parent reply other threads:[~2013-10-07 17:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 15:07 [Buildroot] [PATCH 1/2] support: trivial fixes (typos and minor rewording) in gen-manual-lists.py Samuel Martin
2013-10-06 15:07 ` [Buildroot] [PATCH 2/2] manual: move the manual rsync directory under $(O)/build/ Samuel Martin
2013-10-07 17:27 ` Arnout Vandecappelle
2013-10-07 17:27 ` Arnout Vandecappelle [this message]
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=5252EEE4.2030900@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox