On Fri, Oct 18, 2019 at 03:12:06PM -0600, Stephen Warren wrote: > On 10/18/19 2:53 PM, Tom Rini wrote: > > Use the 2to3 tool to perform numerous automatic conversions from Python > > 2 syntax to Python 3. Also fix whitespace problems that Python 3 > > catches that Python 2 did not. > > > diff --git a/test/py/conftest.py b/test/py/conftest.py > > > import pytest > > from _pytest.runner import runtestprotocol > > import re > > -import StringIO > > +import io > > import sys > > I think that list used to be sorted. IIRC some PEP8 tools complain about > unsorted import lists. > > > -try: > > - import configparser > > -except: > > - import ConfigParser as configparser > > +import configparser > > Now that this is a plain import statement, let's put it with all the others > at the appropriate point in the sorted list above. > > > (Not sure if you want to merge fixes like this into this patch, or put them > in path 7?)
I'll take care of both of those in patch 7, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot