Re: [Mesa-dev] [PATCH 1/3] python: difflib prefers unicode strings

2018-08-17 Thread Dylan Baker
for the series: Reviewed-by: Dylan Baker Quoting Mathieu Bridon (2018-08-17 12:32:16) > Python 3 does not automatically convert from bytes to unicode strings > like Python 2 used to do. > > This commit makes sure we pass unicode strings to difflib.unified_diff, > so that the script works on both

[Mesa-dev] [PATCH 1/3] python: difflib prefers unicode strings

2018-08-17 Thread Mathieu Bridon
Python 3 does not automatically convert from bytes to unicode strings like Python 2 used to do. This commit makes sure we pass unicode strings to difflib.unified_diff, so that the script works on both Python 2 and 3. --- src/compiler/glsl/glcpp/tests/glcpp_test.py | 3 ++- 1 file changed, 2 inser