[PATCH 1/1] misc: tools: fix mkimage.py script type processing

Chris Johns chrisj at rtems.org
Tue Feb 16 20:28:47 UTC 2021


On 12/2/21 3:23 am, Jan Sommer wrote:
> From: Andre Nahrwold <andre.nahrwold at dlr.de>
> 
> ---
>  misc/tools/mkimage.py | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/misc/tools/mkimage.py b/misc/tools/mkimage.py
> index fd75f0a..111e224 100755
> --- a/misc/tools/mkimage.py
> +++ b/misc/tools/mkimage.py
> @@ -121,6 +121,16 @@ outputfile.seek(struct.size);
>  
>  inputcrc = 0;
>  
> +if options.type in 'script':

I saw this and thought it might be wrong and now I think it is. Should this line be:

 > +if options.type in ['script']:

?

Chris


More information about the devel mailing list