]> Git Repo - J-u-boot.git/commit
test/py: hush_if_test: Use open() in place of file()
authorPaul Burton <[email protected]>
Thu, 14 Sep 2017 21:34:49 +0000 (14:34 -0700)
committerSimon Glass <[email protected]>
Tue, 10 Jul 2018 20:50:50 +0000 (14:50 -0600)
commit9f9e8a4dda0b09574a9188a5576a8768e3d818be
treec665199f0971fb9c4c561425eb8ab7314431bbd5
parent57bf9bea340690724df9de8ad82bf0d716efaa5b
test/py: hush_if_test: Use open() in place of file()

In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.

Signed-off-by: Paul Burton <[email protected]>
Reviewed-by: Stephen Warren <[email protected]>
test/py/tests/test_hush_if_test.py
This page took 0.035364 seconds and 4 git commands to generate.