From: Antonin Godard <antoningodard@pm.me>
To: bitbake-devel@lists.openembedded.org
Cc: Antonin Godard <antoningodard@pm.me>
Subject: [PATCH 2/3] codeparser: remove redundant list conversion
Date: Tue, 14 May 2024 01:53:13 +0000 [thread overview]
Message-ID: <20240514015234.67318-3-antoningodard@pm.me> (raw)
In-Reply-To: <20240514015234.67318-1-antoningodard@pm.me>
Signed-off-by: Antonin Godard <antoningodard@pm.me>
---
lib/bb/codeparser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py
index c613806c8..691bdff75 100644
--- a/lib/bb/codeparser.py
+++ b/lib/bb/codeparser.py
@@ -484,7 +484,7 @@ class ShellParser():
"""
words = list(words)
- for word in list(words):
+ for word in words:
wtree = pyshlex.make_wordtree(word[1])
for part in wtree:
if not isinstance(part, list):
--
2.44.0
next prev parent reply other threads:[~2024-05-14 1:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 1:52 [PATCH 0/3] Support codeparser shell expansion between quotes Antonin Godard
2024-05-14 1:53 ` [PATCH 1/3] codeparser: support shell substitutions in quotes Antonin Godard
2024-05-14 1:53 ` Antonin Godard [this message]
2024-05-14 1:53 ` [PATCH 3/3] tests.codeparser: add tests for shell expansions Antonin Godard
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=20240514015234.67318-3-antoningodard@pm.me \
--to=antoningodard@pm.me \
--cc=bitbake-devel@lists.openembedded.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).