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

2018-07-10 Thread Simon Glass
On 14 September 2017 at 15:34, Paul Burton 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 >

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

2017-09-14 Thread Paul Burton
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 Reviewed-by: Stephen Warren