Fix misleading error message on cherry-picked patches
PATCH 1/1 Fix misleading error message on cherry-picked patches
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) <[email protected]>
--- src/b4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/b4/__init__.py +1 -1
@@ -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
Signature · 1 line
2.47.2
Konstantin Ryabitsev
AppliedQuoted 8 lines · Rob Herring (Arm)
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,
Signature · 1 line
Konstantin Ryabitsev <[email protected]>