On Thu, Sep 14, 2017 at 02:34:46PM -0700, Paul Burton wrote: > In python 3.x the StringIO module is gone, and instead StringIO can be > imported from the io module. Do this in order to run on python 3.x, and > fall back to importing StringIO as a module in order to continue working > with python 2.x. > > Signed-off-by: Paul Burton <paul.bur...@imgtec.com> > Reviewed-by: Stephen Warren <swar...@nvidia.com>
This breaks python2.7. There we have both StringIO and io.StringIO so we succeed in 'from io import StringIO'. But io.StringIO() needs unicode, and we don't have that by default in python2. My quick attempt here failed. Thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot