On Wed, Jan 30, 2019 at 12:00 PM Simon Glass <[email protected]> wrote: > > It is not good practice to raise an exception in a constructor. In this > case the 'text' entry may not actually be used, if -i is used to filter > out the images that get built. > > Move the exception to where the data is actually used. > > Signed-off-by: Simon Glass <[email protected]> > --- > > tools/binman/etype/text.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

