[Piglit] [PATCH 2/2] framework: Make driver_classifier convert to str (unicode)

Eric Anholt eric at anholt.net
Sat Sep 17 10:44:48 UTC 2016


Dylan Baker <dylan at pnwbakers.com> writes:

> In python2 the code as is works, although there might be odd corners. In
> python 3 it fails because the code tries to match bytes and strs, which
> doesn't work at all.
>
> This patch fixes the issue by converting the output from bytes to str
> (unicode) immediately, so we don't have to think about it again.
>
> CC: Eric Anholt <eric at anholt.net>
> Reported-by: Dan Kegel <dank at kegel.com>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>

I see you've pushed, but I wanted to say thanks for taking care of this!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160917/f9f4db99/attachment.sig>


More information about the Piglit mailing list