* [PATCH] Fix misleading error message on cherry-picked patches
@ 2025-04-29 13:40 Rob Herring (Arm)
2025-04-29 20:43 ` Konstantin Ryabitsev
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-04-29 13:40 UTC (permalink / raw)
To: tools
When passing '-P1,2,3' to cherry-pick specific patches, b4 erroneously
logs error messages:
Unknown range value specified: 1
Unknown range value specified: 2
Unknown range value specified: 3
The actual cherry-picking works correctly.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
src/b4/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/b4/__init__.py b/src/b4/__init__.py
index de324d0f714b..ee0196cae118 100644
--- a/src/b4/__init__.py
+++ b/src/b4/__init__.py
@@ -3666,7 +3666,7 @@ def parse_int_range(intrange: str, upper: int) -> Iterator[int]:
yield i
else:
logger.critical('Unknown range value specified: %s', n)
- continue
+ continue
except ValueError:
pass
--
2.47.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Fix misleading error message on cherry-picked patches
2025-04-29 13:40 [PATCH] Fix misleading error message on cherry-picked patches Rob Herring (Arm)
@ 2025-04-29 20:43 ` Konstantin Ryabitsev
0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Ryabitsev @ 2025-04-29 20:43 UTC (permalink / raw)
To: tools, Rob Herring (Arm)
On Tue, 29 Apr 2025 08:40:17 -0500, Rob Herring (Arm) wrote:
> When passing '-P1,2,3' to cherry-pick specific patches, b4 erroneously
> logs error messages:
>
> Unknown range value specified: 1
> Unknown range value specified: 2
> Unknown range value specified: 3
>
> [...]
Applied, thanks!
[1/1] Fix misleading error message on cherry-picked patches
commit: 64971039f772f9910d0747f8bd509dd425a76d64
Best regards,
--
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-29 20:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 13:40 [PATCH] Fix misleading error message on cherry-picked patches Rob Herring (Arm)
2025-04-29 20:43 ` Konstantin Ryabitsev
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).