[U-Boot] [PATCH v2 7/8] test/py: hush_if_test: Use open() in place of file()

Simon Glass sjg at chromium.org
Tue Jul 10 20:57:08 UTC 2018


On 14 September 2017 at 15:34, Paul Burton <paul.burton at imgtec.com> wrote:
> 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 <paul.burton at imgtec.com>
> Reviewed-by: Stephen Warren <swarren at nvidia.com>
> ---
>
> Changes in v2: None
>
>  test/py/tests/test_hush_if_test.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list