]> git.baikalelectronics.ru Git - uboot.git/commit
test/py: Import 'configparser' lower case to be python 3.x safe
authorPaul Burton <paul.burton@imgtec.com>
Thu, 14 Sep 2017 21:34:45 +0000 (14:34 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 10 Jul 2018 20:50:50 +0000 (14:50 -0600)
commitb8af4d10c385d4bd488b2e7828dd8457197db229
treeb95661139971b51cbb935f8589e6a84f0580ffe7
parent9140ec162f8c1e5865dfcf0cacb652e708e2a640
test/py: Import 'configparser' lower case to be python 3.x safe

In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
test/py/conftest.py