* [PATCH] dpdk-pmdinfo: remove unneeded whitespace
@ 2024-07-01 17:58 Stephen Hemminger
2024-07-02 11:59 ` Robin Jarry
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2024-07-01 17:58 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger, Dmitry Kozlyuk, Robin Jarry
Fix the warning
$ flake8 --max-line-length=100 dpdk-pmdinfo.py
dpdk-pmdinfo.py:217:40: E203 whitespace before ':'
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
usertools/dpdk-pmdinfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usertools/dpdk-pmdinfo.py b/usertools/dpdk-pmdinfo.py
index 2c728de7b8..9189a2fdbc 100755
--- a/usertools/dpdk-pmdinfo.py
+++ b/usertools/dpdk-pmdinfo.py
@@ -214,7 +214,7 @@ def find_strings(buf: bytes, prefix: str) -> Iterator[str]:
# end of string
s = view[start:i].tobytes().decode("ascii")
if s.startswith(prefix):
- yield s[len(prefix) :]
+ yield s[len(prefix):]
# There can be byte sequences where a non-printable byte
# follows a printable one. Ignore that.
start = None
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dpdk-pmdinfo: remove unneeded whitespace
2024-07-01 17:58 [PATCH] dpdk-pmdinfo: remove unneeded whitespace Stephen Hemminger
@ 2024-07-02 11:59 ` Robin Jarry
2024-07-09 4:49 ` David Marchand
0 siblings, 1 reply; 3+ messages in thread
From: Robin Jarry @ 2024-07-02 11:59 UTC (permalink / raw)
To: Stephen Hemminger, dev; +Cc: Dmitry Kozlyuk
Stephen Hemminger, Jul 01, 2024 at 19:58:
> Fix the warning
> $ flake8 --max-line-length=100 dpdk-pmdinfo.py
> dpdk-pmdinfo.py:217:40: E203 whitespace before ':'
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Robin Jarry <rjarry@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dpdk-pmdinfo: remove unneeded whitespace
2024-07-02 11:59 ` Robin Jarry
@ 2024-07-09 4:49 ` David Marchand
0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2024-07-09 4:49 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: Robin Jarry, dev, Dmitry Kozlyuk
On Tue, Jul 2, 2024 at 1:59 PM Robin Jarry <rjarry@redhat.com> wrote:
>
> Stephen Hemminger, Jul 01, 2024 at 19:58:
> > Fix the warning
> > $ flake8 --max-line-length=100 dpdk-pmdinfo.py
> > dpdk-pmdinfo.py:217:40: E203 whitespace before ':'
> >
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> Acked-by: Robin Jarry <rjarry@redhat.com>
Applied, thanks.
--
David Marchand
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-09 4:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-01 17:58 [PATCH] dpdk-pmdinfo: remove unneeded whitespace Stephen Hemminger
2024-07-02 11:59 ` Robin Jarry
2024-07-09 4:49 ` David Marchand
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 NNTP newsgroup(s).