[PATCH] binman: Fix typing for python >= 3.5

Tom Rini trini at konsulko.com
Fri Jul 11 17:04:16 CEST 2025


On Fri, Jul 11, 2025 at 11:23:27AM +0200, Yannic Moog wrote:

> To make it work with python 3.5 and 3.6, need type hints from the
> typing module.
> 
> Reported-by: Tim Harvey <tharvey at gateworks.com>
> Fixes: 21bc3433a43d ("binman: rework dropping absent entries from packaged image")
> Signed-off-by: Yannic Moog <y.moog at phytec.de>
> ---
>  tools/binman/etype/cbfs.py    | 3 ++-
>  tools/binman/etype/mkimage.py | 4 +++-
>  tools/binman/etype/section.py | 4 ++--
>  3 files changed, 7 insertions(+), 4 deletions(-)

There's some seemingly unrelated spacing changes in here, can you please
drop them unless required? Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250711/929c6658/attachment.sig>


More information about the U-Boot mailing list