commit | 92f0ac4c45c76e23db0af4f1210c1b31c9d47f60 | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Thu Sep 14 14:34:49 2017 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 10 14:50:50 2018 -0600 |
tree | c665199f0971fb9c4c561425eb8ab7314431bbd5 | |
parent | 4c35e97d45b3ae86936fc71d6c562d7c13239a1b [diff] |
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 <paul.burton@imgtec.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>